Inheritance
System.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 |
System.Windows.DependencyProperty |
|
Declaration
public static readonly DependencyProperty CommandProperty
Field Value
Type |
Description |
System.Windows.DependencyProperty |
|
Declaration
public static readonly DependencyProperty IconProperty
Field Value
Type |
Description |
System.Windows.DependencyProperty |
|
Declaration
public static readonly DependencyProperty TextProperty
Field Value
Type |
Description |
System.Windows.DependencyProperty |
|
Properties
Declaration
public ICommand Command { get; set; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
Declaration
public object CommandParameter { get; set; }
Property Value
Type |
Description |
System.Object |
|
Declaration
public DrawingImage Icon { get; set; }
Property Value
Type |
Description |
System.Windows.Media.DrawingImage |
|
Declaration
public string Text { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
Declaration
protected override void OnPreviewKeyDown(KeyEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.KeyEventArgs |
e |
|
Declaration
protected override void OnPreviewMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.MouseButtonEventArgs |
e |
|
Extension Methods