Skip to content

TableRowState

Namespace: Hex1b.Widgets

Assembly: Hex1b.dll

Provides state information about a table row during rendering.

csharp
public record TableRowState : IEquatable<TableRowState>

Inheritance

ObjectTableRowState

Implements

Properties

IsEven

True if the row index is even (useful for alternating row styles/zebra striping).

Returns: Boolean

csharp
public bool IsEven { get; }

IsFirst

True if this is the first row in the data.

Returns: Boolean

csharp
public bool IsFirst { get; init; }

IsFocused

True if this row currently has keyboard focus (navigation cursor is here).

Returns: Boolean

csharp
public bool IsFocused { get; init; }

IsLast

True if this is the last row in the data.

Returns: Boolean

csharp
public bool IsLast { get; init; }

IsOdd

True if the row index is odd.

Returns: Boolean

csharp
public bool IsOdd { get; }

IsSelected

True if this row is in the selection set (marked/chosen).

Returns: Boolean

csharp
public bool IsSelected { get; init; }

RowIndex

Zero-based index of this row in the data source.

Returns: Int32

csharp
public int RowIndex { get; init; }

RowKey

The key value for this row (from WithRowKey selector, or row index if not specified).

Returns: Object

csharp
public object RowKey { get; init; }

Released under the MIT License.