Class MenuItemControl
Inheritance
MenuItemControl
Implements
Inherited Members
Namespace: Sdl.Desktop.Platform.Controls.Controls.MenuControlComboBox
Assembly: Sdl.Desktop.Platform.Controls.dll
Syntax
public class MenuItemControl : AccessibleComboBoxItem, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild
Constructors
MenuItemControl()
Declaration
public MenuItemControl()
Fields
CommandParameterProperty
Declaration
public static readonly DependencyProperty CommandParameterProperty
Field Value
Type | Description |
---|---|
Dependency |
CommandProperty
Declaration
public static readonly DependencyProperty CommandProperty
Field Value
Type | Description |
---|---|
Dependency |
IconProperty
Declaration
public static readonly DependencyProperty IconProperty
Field Value
Type | Description |
---|---|
Dependency |
TextProperty
Declaration
public static readonly DependencyProperty TextProperty
Field Value
Type | Description |
---|---|
Dependency |
Properties
Command
Declaration
public ICommand Command { get; set; }
Property Value
Type | Description |
---|---|
ICommand |
CommandParameter
Declaration
public object CommandParameter { get; set; }
Property Value
Type | Description |
---|---|
object |
Icon
Declaration
public DrawingImage Icon { get; set; }
Property Value
Type | Description |
---|---|
Drawing |
Text
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
OnPreviewKeyDown(KeyEventArgs)
Declaration
protected override void OnPreviewKeyDown(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Key |
e |
Overrides
OnPreviewMouseLeftButtonDown(MouseButtonEventArgs)
Declaration
protected override void OnPreviewMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Mouse |
e |