Class NativeSeparatorItem
An item used to have a space between the items with text or no text.
Implements
Inherited Members
Namespace: LemonUI.Menus
Assembly: LemonUI.SHVDN3.dll
Syntax
public class NativeSeparatorItem : NativeItem, IDrawable
Constructors
View SourceNativeSeparatorItem()
Creates a new separator.
Declaration
public NativeSeparatorItem()
NativeSeparatorItem(string)
Creates a new separator with a specific title.
Declaration
public NativeSeparatorItem(string title)
Parameters
| Type | Name | Description |
|---|---|---|
| string | title | The title of the item. |
Methods
View SourceDraw()
Draws the item.
Declaration
public override void Draw()
Overrides
View SourceRecalculate(PointF, SizeF, bool)
Recalculates the item positions and sizes with the specified values.
Declaration
public override void Recalculate(PointF pos, SizeF size, bool selected)
Parameters
| Type | Name | Description |
|---|---|---|
| PointF | pos | The position of the item. |
| SizeF | size | The size of the item. |
| bool | selected | If this item has been selected. |