Search Results for

    Show / Hide Table of Contents

    Class MenuItemControl

    Inheritance
    System.Object
    MenuItemControl
    Namespace: Sdl.Desktop.Platform.Controls.Controls.MenuControlComboBox
    Assembly: Sdl.Desktop.Platform.Controls.dll
    Syntax
    public class MenuItemControl : ComboBoxItem

    Constructors

    MenuItemControl()

    Declaration
    public MenuItemControl()

    Fields

    CommandParameterProperty

    Declaration
    public static readonly DependencyProperty CommandParameterProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    CommandProperty

    Declaration
    public static readonly DependencyProperty CommandProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    IconProperty

    Declaration
    public static readonly DependencyProperty IconProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    TextProperty

    Declaration
    public static readonly DependencyProperty TextProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    Command

    Declaration
    public ICommand Command { get; set; }
    Property Value
    Type Description
    System.Windows.Input.ICommand

    CommandParameter

    Declaration
    public object CommandParameter { get; set; }
    Property Value
    Type Description
    System.Object

    Icon

    Declaration
    public DrawingImage Icon { get; set; }
    Property Value
    Type Description
    System.Windows.Media.DrawingImage

    Text

    Declaration
    public string Text { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    OnPreviewKeyDown(KeyEventArgs)

    Declaration
    protected override void OnPreviewKeyDown(KeyEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.KeyEventArgs e

    OnPreviewMouseLeftButtonDown(MouseButtonEventArgs)

    Declaration
    protected override void OnPreviewMouseLeftButtonDown(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(Object, Action<Window>)

    On this page

    • Constructors
      • MenuItemControl()
    • Fields
      • CommandParameterProperty
      • CommandProperty
      • IconProperty
      • TextProperty
    • Properties
      • Command
      • CommandParameter
      • Icon
      • Text
    • Methods
      • OnPreviewKeyDown(KeyEventArgs)
      • OnPreviewMouseLeftButtonDown(MouseButtonEventArgs)
    • Extension Methods
    Back to top Generated by DocFX