C# Class Fluent.ContextMenu

Represents a pop-up menu that enables a control to expose functionality that is specific to the context of the control
Inheritance: System.Windows.Controls.ContextMenu
Afficher le fichier Open project: Gainedge/BetterExplorer Class Usage Examples

Méthodes publiques

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

Méthodes publiques

Méthode Description
OnApplyTemplate ( ) : void

When overridden in a derived class, is invoked whenever application code or internal processes call M:System.Windows.FrameworkElement.ApplyTemplate.

Méthodes protégées

Méthode Description
GetContainerForItemOverride ( ) : DependencyObject

Creates or identifies the element that is used to display the given item.

IsItemItsOwnContainerOverride ( object item ) : bool

Determines if the specified item is (or is eligible to be) its own container.

Private Methods

Méthode Description
ContextMenu ( ) : System
OnResizeBothDelta ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs e ) : void
OnResizeVerticalDelta ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs e ) : void

Method Details

GetContainerForItemOverride() protected méthode

Creates or identifies the element that is used to display the given item.
protected GetContainerForItemOverride ( ) : DependencyObject
Résultat System.Windows.DependencyObject

IsItemItsOwnContainerOverride() protected méthode

Determines if the specified item is (or is eligible to be) its own container.
protected IsItemItsOwnContainerOverride ( object item ) : bool
item object The item to check.
Résultat bool

OnApplyTemplate() public méthode

When overridden in a derived class, is invoked whenever application code or internal processes call M:System.Windows.FrameworkElement.ApplyTemplate.
public OnApplyTemplate ( ) : void
Résultat void

Property Details

ResizeModeProperty public_oe static_oe property

Using a DependencyProperty as the backing store for ResizeMode. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows ResizeModeProperty
Résultat System.Windows.DependencyProperty