Class NativeSubmenuItem
Item used for opening submenus.
Implements
Inherited Members
Namespace: LemonUI.Menus
Assembly: LemonUI.SHVDN3.dll
Syntax
public class NativeSubmenuItem : NativeItem, IDrawable
Constructors
View SourceNativeSubmenuItem(NativeMenu, NativeMenu)
Creates a new Item that opens a Submenu.
Declaration
public NativeSubmenuItem(NativeMenu menu, NativeMenu parent)
Parameters
| Type | Name | Description |
|---|---|---|
| NativeMenu | menu | The menu that this item will open. |
| NativeMenu | parent | The parent menu where this item will be located. |
NativeSubmenuItem(NativeMenu, NativeMenu, string)
Creates a new Item that opens a Submenu.
Declaration
public NativeSubmenuItem(NativeMenu menu, NativeMenu parent, string endLabel)
Parameters
| Type | Name | Description |
|---|---|---|
| NativeMenu | menu | The menu that this item will open. |
| NativeMenu | parent | The parent menu where this item will be located. |
| string | endLabel | The alternative title of the item, shown on the right. |
Properties
View SourceMenu
The menu opened by this item.
Declaration
public NativeMenu Menu { get; }
Property Value
| Type | Description |
|---|---|
| NativeMenu |
Methods
View SourceDraw()
Draws the item.
Declaration
public override void Draw()