AppStore.CategoryPage.GridApps_SelectionChanged C# (CSharp) Method

GridApps_SelectionChanged() private method

Executed when the user taps/selects an app from the Category Page. The app navigates to the Details page of the app.
private GridApps_SelectionChanged ( object sender, SelectionChangedEventArgs e ) : void
sender object Object Sender is a parameter called Sender that contains a reference to the control/object that raised the event.
e Windows.UI.Xaml.Controls.SelectionChangedEventArgs SelectionChangedEventArgs e an instance of SelectionChangedEventArgs including, in many cases, an object which inherits from SelectionChangedEventArgs. Contains additional information about the event, and sometimes provides ability for code handling the event to alter the event somehow.
return void
        private void GridApps_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (selectionGridApps) return;
            AppInstance.app = (Apps)GridApps.SelectedItem;
            Frame.Navigate(typeof(AppDetailsPage));
            selectionGridApps = true;
            GridApps.SelectedIndex = -1;
            selectionGridApps = false;
        }