C# Class WinRTXamlToolkit.Controls.CustomAppBar

Inheritance: Windows.UI.Xaml.Controls.ContentControl
Afficher le fichier Open project: xyzzer/WinRTXamlToolkit Class Usage Examples

Méthodes publiques

Свойство Type Description
CanDismissProperty Windows.UI.Xaml.DependencyProperty
CanOpenProperty Windows.UI.Xaml.DependencyProperty
IsLightDismissEnabledProperty Windows.UI.Xaml.DependencyProperty
IsOpenProperty Windows.UI.Xaml.DependencyProperty

Méthodes publiques

Méthode Description
CustomAppBar ( ) : System

Initializes a new instance of the CustomAppBar class.

Méthodes protégées

Méthode 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

Méthode 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 méthode

Initializes a new instance of the CustomAppBar class.
public CustomAppBar ( ) : System
Résultat System

OnApplyTemplate() protected méthode

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
Résultat void

OnCanDismissChanged() protected méthode

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
Résultat void

OnCanOpenChanged() protected méthode

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
Résultat void

OnClosed() protected méthode

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

OnIsOpenChanged() protected méthode

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
Résultat void

OnOpened() protected méthode

Called when app bar opens.
protected OnOpened ( object e ) : void
e object The e.
Résultat void

Property Details

CanDismissProperty public_oe static_oe property

CanDismiss Dependency Property
public static DependencyProperty,Windows.UI.Xaml CanDismissProperty
Résultat Windows.UI.Xaml.DependencyProperty

CanOpenProperty public_oe static_oe property

CanOpen Dependency Property
public static DependencyProperty,Windows.UI.Xaml CanOpenProperty
Résultat Windows.UI.Xaml.DependencyProperty

IsLightDismissEnabledProperty public_oe static_oe property

IsLightDismissEnabled Dependency Property
public static DependencyProperty,Windows.UI.Xaml IsLightDismissEnabledProperty
Résultat Windows.UI.Xaml.DependencyProperty

IsOpenProperty public_oe static_oe property

IsOpen Dependency Property
public static DependencyProperty,Windows.UI.Xaml IsOpenProperty
Résultat Windows.UI.Xaml.DependencyProperty