AppStore.AppDetailsPage.GridScreenshots_SelectionChanged C# (CSharp) Method

GridScreenshots_SelectionChanged() private method

Executed when the user taps/selects a screenshot from the App-Details Page. The screenshots zoom in to the fullscreen view.
private GridScreenshots_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 GridScreenshots_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (selectionGridScreenshots) return;
            FullScreenshots.SelectedIndex = GridScreenshots.SelectedIndex;
            FullScreen.Visibility = Visibility.Visible;
            LayoutRoot.Visibility = Visibility.Collapsed;
            selectionGridScreenshots = true;GridScreenshots.SelectedIndex = -1; selectionGridScreenshots = false;
        }