Struct ListItemState
- Namespace
- PluginUI
- Assembly
- PluginUI.dll
State of one row handed to a custom ItemRenderer.
public readonly record struct ListItemState : IEquatable<ListItemState>
- Implements
- Inherited Members
Constructors
ListItemState(int, bool, bool, bool, bool)
State of one row handed to a custom ItemRenderer.
public ListItemState(int Index, bool IsSelected, bool IsHovered, bool IsCurrent, bool IsEnabled)
Parameters
IndexintRow index.
IsSelectedboolRow selected.
IsHoveredboolMouse over the row.
IsCurrentboolKeyboard cursor row (drawn with a focus outline when the list is focused).
IsEnabledboolList enabled.
Properties
Index
Row index.
public int Index { get; init; }
Property Value
IsCurrent
Keyboard cursor row (drawn with a focus outline when the list is focused).
public bool IsCurrent { get; init; }
Property Value
IsEnabled
List enabled.
public bool IsEnabled { get; init; }
Property Value
IsHovered
Mouse over the row.
public bool IsHovered { get; init; }
Property Value
IsSelected
Row selected.
public bool IsSelected { get; init; }