C# Class Cimbalino.Phone.Toolkit.Behaviors.ApplicationBar

Inheritance: System.Windows.DependencyObject
Show file Open project: Cimbalino/Cimbalino-Phone-Toolkit

Public Properties

Property Type Description
BackgroundColorProperty System.Windows.DependencyProperty
ButtonsProperty System.Windows.DependencyProperty
ForegroundColorProperty System.Windows.DependencyProperty
IsMenuEnabledProperty System.Windows.DependencyProperty
IsVisibleProperty System.Windows.DependencyProperty
MenuItemsProperty System.Windows.DependencyProperty
ModeProperty System.Windows.DependencyProperty
OpacityProperty System.Windows.DependencyProperty
StateChangedCommandProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
ApplicationBarStateChanged void
OnIsVisibleChanged void

Public Methods

Method Description
ApplicationBar ( ) : System

Initializes a new instance of the ApplicationBar class.

Protected Methods

Method Description
OnBackgroundColorChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Called after the background color of the ApplicationBar is changed.

OnForegroundColorChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Called after the foreground color of the ApplicationBar is changed.

OnIsMenuEnabledChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Called after the menu enabled state of the Application Bar is changed.

OnModeChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Called after the size of the ApplicationBar is changed.

OnOpacityChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Called after the opacity of the ApplicationBar is changed.

Private Methods

Method Description
ApplicationBarStateChanged ( object sender, Microsoft.Phone.Shell.ApplicationBarStateChangedEventArgs e ) : void
OnIsVisibleChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Called after the visible state of the Application Bar is changed.

Method Details

ApplicationBar() public method

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

OnBackgroundColorChanged() protected static method

Called after the background color of the ApplicationBar is changed.
protected static OnBackgroundColorChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject The .
e System.Windows.DependencyPropertyChangedEventArgs The instance containing the event data.
return void

OnForegroundColorChanged() protected static method

Called after the foreground color of the ApplicationBar is changed.
protected static OnForegroundColorChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject The .
e System.Windows.DependencyPropertyChangedEventArgs The instance containing the event data.
return void

OnIsMenuEnabledChanged() protected static method

Called after the menu enabled state of the Application Bar is changed.
protected static OnIsMenuEnabledChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject The .
e System.Windows.DependencyPropertyChangedEventArgs The instance containing the event data.
return void

OnModeChanged() protected static method

Called after the size of the ApplicationBar is changed.
protected static OnModeChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject The .
e System.Windows.DependencyPropertyChangedEventArgs The instance containing the event data.
return void

OnOpacityChanged() protected static method

Called after the opacity of the ApplicationBar is changed.
protected static OnOpacityChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject The .
e System.Windows.DependencyPropertyChangedEventArgs The instance containing the event data.
return void

Property Details

BackgroundColorProperty public static property

Identifier for the BackgroundColor dependency property.
public static DependencyProperty,System.Windows BackgroundColorProperty
return System.Windows.DependencyProperty

ButtonsProperty public static property

Identifier for the Buttons dependency property.
public static DependencyProperty,System.Windows ButtonsProperty
return System.Windows.DependencyProperty

ForegroundColorProperty public static property

Identifier for the ForegroundColor dependency property.
public static DependencyProperty,System.Windows ForegroundColorProperty
return System.Windows.DependencyProperty

IsMenuEnabledProperty public static property

Identifier for the IsMenuEnabled dependency property.
public static DependencyProperty,System.Windows IsMenuEnabledProperty
return System.Windows.DependencyProperty

IsVisibleProperty public static property

Identifier for the IsVisible dependency property.
public static DependencyProperty,System.Windows IsVisibleProperty
return System.Windows.DependencyProperty

MenuItemsProperty public static property

Identifier for the MenuItems dependency property.
public static DependencyProperty,System.Windows MenuItemsProperty
return System.Windows.DependencyProperty

ModeProperty public static property

Identifier for the Mode dependency property.
public static DependencyProperty,System.Windows ModeProperty
return System.Windows.DependencyProperty

OpacityProperty public static property

Identifier for the Opacity dependency property.
public static DependencyProperty,System.Windows OpacityProperty
return System.Windows.DependencyProperty

StateChangedCommandProperty public static property

Identifier for the StateChangedCommand dependency property.
public static DependencyProperty,System.Windows StateChangedCommandProperty
return System.Windows.DependencyProperty