C# Class WinRTXamlToolkit.Controls.Extensions.PageExtensions

Page extensions. Allows to specify Page's top and bottom app bars by setting them on its descendant.
Afficher le fichier Open project: xyzzer/WinRTXamlToolkit

Méthodes publiques

Méthode Description
GetBottomAppBar ( DependencyObject d ) : AppBar

Gets the BottomAppBar property. This dependency property indicates the bottom app bar to set on the page for the control on which this property is defined.

GetTopAppBar ( DependencyObject d ) : AppBar

Gets the TopAppBar property. This dependency property indicates the Top app bar to set on the page for the control on which this property is defined.

SetBottomAppBar ( DependencyObject d, AppBar value ) : void

Sets the BottomAppBar property. This dependency property indicates the bottom app bar to set on the page for the control on which this property is defined.

SetTopAppBar ( DependencyObject d, AppBar value ) : void

Sets the TopAppBar property. This dependency property indicates the Top app bar to set on the page for the control on which this property is defined.

Private Methods

Méthode Description
OnBottomAppBarChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the BottomAppBar property.

OnTopAppBarChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the TopAppBar property.

Method Details

GetBottomAppBar() public static méthode

Gets the BottomAppBar property. This dependency property indicates the bottom app bar to set on the page for the control on which this property is defined.
public static GetBottomAppBar ( DependencyObject d ) : AppBar
d Windows.UI.Xaml.DependencyObject
Résultat Windows.UI.Xaml.Controls.AppBar

GetTopAppBar() public static méthode

Gets the TopAppBar property. This dependency property indicates the Top app bar to set on the page for the control on which this property is defined.
public static GetTopAppBar ( DependencyObject d ) : AppBar
d Windows.UI.Xaml.DependencyObject
Résultat Windows.UI.Xaml.Controls.AppBar

SetBottomAppBar() public static méthode

Sets the BottomAppBar property. This dependency property indicates the bottom app bar to set on the page for the control on which this property is defined.
public static SetBottomAppBar ( DependencyObject d, AppBar value ) : void
d Windows.UI.Xaml.DependencyObject
value Windows.UI.Xaml.Controls.AppBar
Résultat void

SetTopAppBar() public static méthode

Sets the TopAppBar property. This dependency property indicates the Top app bar to set on the page for the control on which this property is defined.
public static SetTopAppBar ( DependencyObject d, AppBar value ) : void
d Windows.UI.Xaml.DependencyObject
value Windows.UI.Xaml.Controls.AppBar
Résultat void