AppStore.SearchPage.GridFeaturedApps_SelectionChanged C# (CSharp) Method

GridFeaturedApps_SelectionChanged() private method

Executed when the user selects/taps on an app. The app navigates to the Details page of the app.
private GridFeaturedApps_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 GridFeaturedApps_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (selectionGridApps) return;
            AppInstance.app = (Apps)GridFeaturedApps.SelectedItem;
            Frame.Navigate(typeof(AppDetailsPage));
            selectionGridApps = true;
            GridFeaturedApps.SelectedIndex = -1;
            selectionGridApps = false;
        }