Show / Hide Table of Contents

Class NativeSeparatorItem

An item used to have a space between the items with text or no text.

Inheritance
object
NativeItem
NativeSeparatorItem
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.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 NativeSeparatorItem : NativeItem, IDrawable

Constructors

View Source

NativeSeparatorItem()

Creates a new separator.

Declaration
public NativeSeparatorItem()
View Source

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 Source

Draw()

Draws the item.

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

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

Overrides
NativeItem.Recalculate(PointF, SizeF, bool)

Implements

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