C# Class XPlatformMenus.UWP.Views.MainView

Afficher le fichier Open project: MvvmCross/MvvmCross-Samples

Méthodes publiques

Méthode Description
MainView ( ) : Windows.Foundation
OpenNavePane ( ) : void

Public method to allow pages to open SplitView's pane. Used for custom app shortcuts like navigating left from page's left-most item

PopToRoot ( ) : void

Private Methods

Méthode Description
CheckTogglePaneButtonSizeChanged ( ) : void

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

MainView_OnLoaded ( object sender, RoutedEventArgs e ) : void
RootSplitView_PaneClosed ( SplitView sender, object args ) : void

Hides divider when nav pane is closed.

TogglePaneButton_Checked ( object sender, RoutedEventArgs e ) : void

Callback when the SplitView's Pane is toggled opened. Restores divider's visibility and ensures that margins around the floating hamburger are correctly set.

TogglePaneButton_Unchecked ( object sender, RoutedEventArgs e ) : void

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

Method Details

MainView() public méthode

public MainView ( ) : Windows.Foundation
Résultat Windows.Foundation

OpenNavePane() public méthode

Public method to allow pages to open SplitView's pane. Used for custom app shortcuts like navigating left from page's left-most item
public OpenNavePane ( ) : void
Résultat void

PopToRoot() public méthode

public PopToRoot ( ) : void
Résultat void