Click or drag to resize
Cimbalino ToolkitApplicationBarBehavior Class
The behavior that creates a bindable ApplicationBar.
Inheritance Hierarchy
SystemObject
  DependencyObject
    Behavior
      BehaviorPhoneApplicationPage
        Cimbalino.Toolkit.BehaviorsApplicationBarBehavior

Namespace: Cimbalino.Toolkit.Behaviors
Assembly: Cimbalino.Toolkit (in Cimbalino.Toolkit.dll) Version: 2.2.1.0 (2.2.1.0)
Syntax
C#
[ContentPropertyAttribute("Buttons")]
public class ApplicationBarBehavior : Behavior<PhoneApplicationPage>

The ApplicationBarBehavior type exposes the following members.

Constructors
  NameDescription
Public methodApplicationBarBehavior
Initializes a new instance of the ApplicationBarBehavior class.
Top
Properties
  NameDescription
Protected propertyAssociatedObject (Inherited from BehaviorPhoneApplicationPage.)
Protected propertyAssociatedType (Inherited from Behavior.)
Public propertyBackgroundColor
Gets or sets the background color of the Application Bar.
Public propertyButtons
Gets the ApplicationBarIconButton collection that appear on the Application Bar.
Public propertyDispatcher (Inherited from DependencyObject.)
Public propertyForegroundColor
Gets or sets the foreground color of the Application Bar.
Public propertyIsMenuEnabled
Gets or sets a value indicating whether the user can open the menu.
Public propertyIsVisible
Gets or sets a value indicating whether the Application Bar is visible.
Public propertyMenuItems
Gets the ApplicationBarMenuItem collection that appear on the Application Bar.
Public propertyMode
Gets or sets the size of the Application Bar.
Public propertyOpacity
Gets or sets the opacity of the Application Bar.
Public propertyStateChangedCommand
Gets or sets the command to invoke when the user opens or closes the menu. This is a DependencyProperty.
Top
Methods
  NameDescription
Public methodAttach (Inherited from Behavior.)
Public methodCheckAccess (Inherited from DependencyObject.)
Public methodClearValue (Inherited from DependencyObject.)
Public methodDetach (Inherited from Behavior.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAnimationBaseValue (Inherited from DependencyObject.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue (Inherited from DependencyObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnAttached
Called after the behavior is attached to an AssociatedObject.
(Overrides Behavior.OnAttached.)
Protected methodStatic memberOnBackgroundColorChanged
Called after the background color of the ApplicationBar is changed.
Protected methodOnDetaching
Called when the behavior is being detached from its AssociatedObject, but before it has actually occurred.
(Overrides Behavior.OnDetaching.)
Protected methodStatic memberOnForegroundColorChanged
Called after the foreground color of the ApplicationBar is changed.
Protected methodStatic memberOnIsMenuEnabledChanged
Called after the menu enabled state of the Application Bar is changed.
Protected methodStatic memberOnIsVisibleChanged
Called after the visible state of the Application Bar is changed.
Protected methodStatic memberOnModeChanged
Called after the size of the ApplicationBar is changed.
Protected methodStatic memberOnOpacityChanged
Called after the opacity of the ApplicationBar is changed.
Public methodReadLocalValue (Inherited from DependencyObject.)
Public methodSetValue (Inherited from DependencyObject.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventStateChanged
Occurs when the user opens or closes the menu.
Top
Fields
  NameDescription
Public fieldStatic memberBackgroundColorProperty
Identifier for the BackgroundColor dependency property.
Public fieldStatic memberButtonsProperty
Identifier for the Buttons dependency property.
Public fieldStatic memberForegroundColorProperty
Identifier for the ForegroundColor dependency property.
Public fieldStatic memberIsMenuEnabledProperty
Identifier for the IsMenuEnabled dependency property.
Public fieldStatic memberIsVisibleProperty
Identifier for the IsVisible dependency property.
Public fieldStatic memberMenuItemsProperty
Identifier for the MenuItems dependency property.
Public fieldStatic memberModeProperty
Identifier for the Mode dependency property.
Public fieldStatic memberOpacityProperty
Identifier for the Opacity dependency property.
Public fieldStatic memberStateChangedCommandProperty
Identifier for the StateChangedCommand dependency property.
Top
Extension Methods
  NameDescription
Public Extension MethodAddEventHandler
Adds an event handler to an event source.
(Defined by ObjectExtensions.)
Public Extension MethodGetPropertyValue(String)Overloaded.
Searches for the public property with the specified name and gets its value.
(Defined by ObjectExtensions.)
Public Extension MethodGetPropertyValueTObject(String)Overloaded.
Searches for the public property with the specified name and gets its value.
(Defined by ObjectExtensions.)
Public Extension MethodGetVisualAncestorT
Returns the ancestor object of the dependencyObject object in the visual tree with the specified type.
(Defined by DependencyObjectExtensions.)
Public Extension MethodGetVisualChildsOverloaded.
Retrieves all the visual children of a dependency object.
(Defined by DependencyObjectExtensions.)
Public Extension MethodGetVisualChildsTOverloaded.
Retrieves all the visual children of a dependency object with the specified type.
(Defined by DependencyObjectExtensions.)
Public Extension MethodGetVisualDescendentsOverloaded.
Retrieves all the visual descendants of a dependency object.
(Defined by DependencyObjectExtensions.)
Public Extension MethodGetVisualDescendentsTOverloaded.
Retrieves all the visual descendants of a dependency object with the specified type.
(Defined by DependencyObjectExtensions.)
Public Extension MethodGetVisualParent
Returns an object's parent object in the visual tree.
(Defined by DependencyObjectExtensions.)
Public Extension MethodInvokeMethod(String, Object)Overloaded.
Searches for the public method with the specified name and invokes it using the specified parameters.
(Defined by ObjectExtensions.)
Public Extension MethodInvokeMethodTObject(String, Object)Overloaded.
Searches for the public method with the specified name and invokes it using the specified parameters, returning the result.
(Defined by ObjectExtensions.)
Public Extension MethodRemoveEventHandler
Removes an event handler from an event source.
(Defined by ObjectExtensions.)
Public Extension MethodSetPropertyValueTObject
Searches for the public property with the specified name and sets its value.
(Defined by ObjectExtensions.)
Top
Version Information

Windows Phone Silverlight

Supported in: 8.1, 8.0
See Also