Inheritance
Object
MenuItemControl
Assembly: Sdl.Desktop.Platform.Controls.dll
public class MenuItemControl : ComboBoxItem
Constructors
Declaration
Fields
Declaration
public static readonly DependencyProperty CommandParameterProperty
Field Value
Type |
Description |
DependencyProperty |
|
Declaration
public static readonly DependencyProperty CommandProperty
Field Value
Type |
Description |
DependencyProperty |
|
Declaration
public static readonly DependencyProperty IconProperty
Field Value
Type |
Description |
DependencyProperty |
|
Declaration
public static readonly DependencyProperty TextProperty
Field Value
Type |
Description |
DependencyProperty |
|
Properties
Declaration
public ICommand Command { get; set; }
Property Value
Type |
Description |
ICommand |
|
Declaration
public object CommandParameter { get; set; }
Property Value
Declaration
public DrawingImage Icon { get; set; }
Property Value
Type |
Description |
DrawingImage |
|
Declaration
public string Text { get; set; }
Property Value
Methods
Declaration
protected override void OnPreviewKeyDown(KeyEventArgs e)
Parameters
Type |
Name |
Description |
KeyEventArgs |
e |
|
Declaration
protected override void OnPreviewMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
Type |
Name |
Description |
MouseButtonEventArgs |
e |
|
Extension Methods