C# Class Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem

Inheritance: RibbonMenuItem
Afficher le fichier Open project: kasicass/kasicass Class Usage Examples

Méthodes publiques

Свойство Type Description
LevelProperty System.Windows.DependencyProperty

Private Properties

Свойство Type Description
CoerceIsSubmenuOpen object
RibbonApplicationMenuItem System

Méthodes publiques

Méthode Description
OnApplyTemplate ( ) : void

Invoked whenever the control's template is applied.

Méthodes protégées

Méthode Description
GetContainerForItemOverride ( ) : DependencyObject
IsItemItsOwnContainerOverride ( object item ) : bool
OnActivatingKeyTip ( ActivatingKeyTipEventArgs e ) : void
OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
PrepareContainerForItemOverride ( DependencyObject element, object item ) : void

Called when the container is being attached to the parent ItemsControl

ShouldApplyItemContainerStyle ( DependencyObject container, object item ) : bool

Private Methods

Méthode Description
CoerceIsSubmenuOpen ( DependencyObject d, object baseValue ) : object
RibbonApplicationMenuItem ( ) : System

Initializes static members of the RibbonApplicationMenuItem class. This also overrides the default style, the Command PropertyChangedCallback, and the default RibbonControlSizeDefintion for a MenuItem.

Method Details

GetContainerForItemOverride() protected méthode

protected GetContainerForItemOverride ( ) : DependencyObject
Résultat System.Windows.DependencyObject

IsItemItsOwnContainerOverride() protected méthode

protected IsItemItsOwnContainerOverride ( object item ) : bool
item object
Résultat bool

OnActivatingKeyTip() protected méthode

protected OnActivatingKeyTip ( ActivatingKeyTipEventArgs e ) : void
e ActivatingKeyTipEventArgs
Résultat void

OnApplyTemplate() public méthode

Invoked whenever the control's template is applied.
public OnApplyTemplate ( ) : void
Résultat void

OnKeyDown() protected méthode

protected OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs
Résultat void

PrepareContainerForItemOverride() protected méthode

Called when the container is being attached to the parent ItemsControl
protected PrepareContainerForItemOverride ( DependencyObject element, object item ) : void
element System.Windows.DependencyObject
item object
Résultat void

ShouldApplyItemContainerStyle() protected méthode

protected ShouldApplyItemContainerStyle ( DependencyObject container, object item ) : bool
container System.Windows.DependencyObject
item object
Résultat bool

Property Details

LevelProperty public_oe static_oe property

Using a DependencyProperty as the backing store for Level to enable binding.
public static DependencyProperty,System.Windows LevelProperty
Résultat System.Windows.DependencyProperty