C# Class PhotoSharingApp.Universal.Views.AppShell

The "chrome" layer of the app that provides top-level navigation with proper keyboarding navigation.
Inheritance: Windows.UI.Xaml.Controls.Page
Datei anzeigen Open project: Microsoft/Appsample-Photosharing Class Usage Examples

Public Properties

Property Type Description
Current AppShell

Public Methods

Method Description
AppShell ( ) : System

Initializes a new instance of the AppShell.

Private Methods

Method Description
AppShell_KeyDown ( object sender, KeyRoutedEventArgs e ) : void

Default keyboard focus movement for any unhandled keyboarding

CheckTogglePaneButtonSizeChanged ( ) : void

Check for the conditions where the navigation pane does not occupy the space under the floating hamburger button and trigger the event.

NavMenuItemContainerContentChanging ( ListViewBase sender, ContainerContentChangingEventArgs args ) : void

Enable accessibility on each nav menu item by setting the AutomationProperties.Name on each container using the associated Label of each item.

NavMenuList_ItemInvoked ( object sender, ListViewItem listViewItem ) : void

Navigate to the Page for the selected listViewItem.

OnNavigatedToPage ( object sender, NavigationEventArgs e ) : void
Page_Loaded ( object sender, RoutedEventArgs e ) : void
SystemNavigationManager_BackRequested ( object sender, BackRequestedEventArgs e ) : void
TogglePaneButton_Checked ( object sender, RoutedEventArgs e ) : void

Callback when the SplitView's Pane is toggled open or close. When the Pane is not visible then the floating hamburger may be occluding other content in the app unless it is aware.

UpdateSelectionState ( ) : void

Method Details

AppShell() public method

Initializes a new instance of the AppShell.
public AppShell ( ) : System
return System

Property Details

Current public_oe static_oe property

public static AppShell,PhotoSharingApp.Universal.Views Current
return AppShell