Table of Contents

Class MenuItemEx

Namespace
HeBianGu.Control.Dock.Controls
Assembly
HeBianGu.Control.Dock.dll

Represents a selectable item inside a Menu.

public class MenuItemEx : MenuItem, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IContainItemStorage, IAddChild, ICommandSource
Inheritance
MenuItemEx
Implements
Inherited Members
Extension Methods

Fields

IconTemplateProperty

IconTemplate dependency property.

public static readonly DependencyProperty IconTemplateProperty

Field Value

DependencyProperty

IconTemplateSelectorProperty

IconTemplateSelector dependency property.

public static readonly DependencyProperty IconTemplateSelectorProperty

Field Value

DependencyProperty

Properties

IconTemplate

Gets/sets the DataTemplate for the icon in the menu item.

[Bindable(true)]
public DataTemplate IconTemplate { get; set; }

Property Value

DataTemplate

IconTemplateSelector

Gets/sets the DataTemplateSelector for the icon in the menu item.

[Bindable(true)]
public DataTemplateSelector IconTemplateSelector { get; set; }

Property Value

DataTemplateSelector

Methods

OnIconTemplateChanged(DependencyPropertyChangedEventArgs)

Provides derived classes an opportunity to handle changes to the IconTemplate property.

protected virtual void OnIconTemplateChanged(DependencyPropertyChangedEventArgs e)

Parameters

e DependencyPropertyChangedEventArgs

OnIconTemplateSelectorChanged(DependencyPropertyChangedEventArgs)

Provides derived classes an opportunity to handle changes to the IconTemplateSelector property.

protected virtual void OnIconTemplateSelectorChanged(DependencyPropertyChangedEventArgs e)

Parameters

e DependencyPropertyChangedEventArgs

See Also