Show / Hide Table of Contents

Class NativeSlidableItem

Basic elements for a slidable item.

Inheritance
object
NativeItem
NativeSlidableItem
NativeDynamicItem<T>
NativeListItem
NativeSliderItem
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.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 abstract class NativeSlidableItem : NativeItem, IDrawable

Constructors

View Source

NativeSlidableItem(string, string)

Creates a new item that can be sliden.

Declaration
public NativeSlidableItem(string title, string description)
Parameters
Type Name Description
string title

The title of the Item.

string description

The description of the Item.

Fields

View Source

arrowLeft

The arrow pointing to the Left.

Declaration
[Obsolete("arrowLeft is Obsolete, use LeftArrow instead.")]
protected ScaledTexture arrowLeft
Field Value
Type Description
ScaledTexture
View Source

arrowRight

The arrow pointing to the Right.

Declaration
[Obsolete("arrowRight is Obsolete, use RightArrow instead.")]
protected ScaledTexture arrowRight
Field Value
Type Description
ScaledTexture

Properties

View Source

ArrowsAlwaysVisible

Whether the arrows should always be shown regardless of the visibility of the Item.

Declaration
public bool ArrowsAlwaysVisible { get; set; }
Property Value
Type Description
bool
View Source

LeftArrow

The arrow pointing to the Left.

Declaration
public ScaledTexture LeftArrow { get; }
Property Value
Type Description
ScaledTexture
View Source

RightArrow

The arrow pointing to the Right.

Declaration
public ScaledTexture RightArrow { get; }
Property Value
Type Description
ScaledTexture

Methods

View Source

Draw()

Draws the left and right arrow.

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

GoLeft()

Moves to the previous item.

Declaration
public abstract void GoLeft()
View Source

GoRight()

Moves to the next item.

Declaration
public abstract void GoRight()
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)
View Source

UpdateColors()

Updates the colors of the LemonUI.Elements from the Colors ColorSet.

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

Implements

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