C# Class WinRTXamlToolkit.Controls.Extensions.PageExtensions

Page extensions. Allows to specify Page's top and bottom app bars by setting them on its descendant.
ファイルを表示 Open project: xyzzer/WinRTXamlToolkit

Public Methods

Method 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

Method 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 method

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
return Windows.UI.Xaml.Controls.AppBar

GetTopAppBar() public static method

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
return Windows.UI.Xaml.Controls.AppBar

SetBottomAppBar() public static method

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
return void

SetTopAppBar() public static method

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
return void