Show / Hide Table of Contents

Class NativeSubmenuItem

Item used for opening submenus.

Inheritance
object
NativeItem
NativeSubmenuItem
Implements
IDrawable
Inherited Members
NativeItem.title
NativeItem.lastPosition
NativeItem.lastSize
NativeItem.lastSelected
NativeItem.badgeLeft
NativeItem.badgeRight
NativeItem.altTitle
NativeItem.OnSelected(object, SelectedEventArgs)
NativeItem.OnActivated(object)
NativeItem.Recalculate()
NativeItem.Recalculate(PointF, SizeF, bool)
NativeItem.UpdateColors()
NativeItem.Enabled
NativeItem.Tag
NativeItem.Title
NativeItem.AltTitle
NativeItem.TitleFont
NativeItem.AltTitleFont
NativeItem.Description
NativeItem.LeftBadge
NativeItem.LeftBadgeSet
NativeItem.RightBadge
NativeItem.RightBadgeSet
NativeItem.Colors
NativeItem.Panel
NativeItem.UseCustomBackground
NativeItem.IsHovered
NativeItem.Selected
NativeItem.Activated
NativeItem.EnabledChanged
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: LemonUI.Menus
Assembly: LemonUI.SHVDN3.dll
Syntax
public class NativeSubmenuItem : NativeItem, IDrawable

Constructors

View Source

NativeSubmenuItem(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.

View Source

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 Source

Menu

The menu opened by this item.

Declaration
public NativeMenu Menu { get; }
Property Value
Type Description
NativeMenu

Methods

View Source

Draw()

Draws the item.

Declaration
public override void Draw()
Overrides
NativeItem.Draw()

Implements

IDrawable
  • View Source
In this article
Back to top Generated by DocFX