C# Class WinRTXamlToolkit.Controls.CustomAppBar

Inheritance: Windows.UI.Xaml.Controls.ContentControl
Exibir arquivo Open project: xyzzer/WinRTXamlToolkit Class Usage Examples

Public Properties

Property Type Description
CanDismissProperty Windows.UI.Xaml.DependencyProperty
CanOpenProperty Windows.UI.Xaml.DependencyProperty
IsLightDismissEnabledProperty Windows.UI.Xaml.DependencyProperty
IsOpenProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
CustomAppBar ( ) : System

Initializes a new instance of the CustomAppBar class.

Protected Methods

Method Description
OnApplyTemplate ( ) : void

Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class.

OnCanDismissChanged ( bool oldCanDismiss, bool newCanDismiss ) : void

Provides derived classes an opportunity to handle changes to the CanDismiss property.

OnCanOpenChanged ( bool oldCanOpen, bool newCanOpen ) : void

Provides derived classes an opportunity to handle changes to the CanOpen property.

OnClosed ( object e ) : void

Called when the app bar closes.

OnIsOpenChanged ( bool oldIsOpen, bool newIsOpen ) : void

Provides derived classes an opportunity to handle changes to the IsOpen property.

OnOpened ( object e ) : void

Called when app bar opens.

Private Methods

Method Description
DebugAssertAppBarIsVisible ( ) : void
GoToFloatingHiddenVisualState ( bool useTransitions ) : void
GoToFloatingVisibleVisualState ( bool useTransitions ) : void
OnCanDismissChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the CanDismiss property.

OnCanOpenChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the CanOpen property.

OnClosedInternal ( bool useTransitions ) : void
OnCoreWindowPointerPressed ( CoreWindow sender, PointerEventArgs args ) : void
OnCoreWindowPointerReleased ( CoreWindow sender, PointerEventArgs args ) : void
OnEdgeGestureCompleted ( EdgeGesture sender, EdgeGestureEventArgs args ) : void
OnIsOpenChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the IsOpen property.

OnLoaded ( object sender, RoutedEventArgs e ) : void
OnOpenedInternal ( bool useTransitions ) : void
OnSwitchGesture ( ) : void
OnUnloaded ( object sender, RoutedEventArgs e ) : void
SetAppBarPositionOutsideClipBounds ( ) : void

Method Details

CustomAppBar() public method

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

OnApplyTemplate() protected method

Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class.
protected OnApplyTemplate ( ) : void
return void

OnCanDismissChanged() protected method

Provides derived classes an opportunity to handle changes to the CanDismiss property.
protected OnCanDismissChanged ( bool oldCanDismiss, bool newCanDismiss ) : void
oldCanDismiss bool The old CanDismiss value
newCanDismiss bool The new CanDismiss value
return void

OnCanOpenChanged() protected method

Provides derived classes an opportunity to handle changes to the CanOpen property.
protected OnCanOpenChanged ( bool oldCanOpen, bool newCanOpen ) : void
oldCanOpen bool The old CanOpen value
newCanOpen bool The new CanOpen value
return void

OnClosed() protected method

Called when the app bar closes.
protected OnClosed ( object e ) : void
e object The e.
return void

OnIsOpenChanged() protected method

Provides derived classes an opportunity to handle changes to the IsOpen property.
protected OnIsOpenChanged ( bool oldIsOpen, bool newIsOpen ) : void
oldIsOpen bool The old IsOpen value
newIsOpen bool The new IsOpen value
return void

OnOpened() protected method

Called when app bar opens.
protected OnOpened ( object e ) : void
e object The e.
return void

Property Details

CanDismissProperty public_oe static_oe property

CanDismiss Dependency Property
public static DependencyProperty,Windows.UI.Xaml CanDismissProperty
return Windows.UI.Xaml.DependencyProperty

CanOpenProperty public_oe static_oe property

CanOpen Dependency Property
public static DependencyProperty,Windows.UI.Xaml CanOpenProperty
return Windows.UI.Xaml.DependencyProperty

IsLightDismissEnabledProperty public_oe static_oe property

IsLightDismissEnabled Dependency Property
public static DependencyProperty,Windows.UI.Xaml IsLightDismissEnabledProperty
return Windows.UI.Xaml.DependencyProperty

IsOpenProperty public_oe static_oe property

IsOpen Dependency Property
public static DependencyProperty,Windows.UI.Xaml IsOpenProperty
return Windows.UI.Xaml.DependencyProperty