Table of Contents

Interface IMenuItem

Namespace
Myra.Graphics2D.UI
Assembly
Myra.dll

Represents a menu item that can be displayed in a menu.

public interface IMenuItem : IItemWithId
Inherited Members

Properties

Index

Gets or sets the index of this menu item within its parent menu.

[Browsable(false)]
int Index { get; set; }

Property Value

int

Menu

Gets or sets the menu that contains this menu item.

[Browsable(false)]
Menu Menu { get; set; }

Property Value

Menu

UnderscoreChar

Gets the underscore character position (mnemonic character) in the menu item.

[Browsable(false)]
char? UnderscoreChar { get; }

Property Value

char?