ClassTaskBoardColumnState<TColumn>
Holds the runtime view-state of a single board column, produced from a ColumnData
item via TaskBoardColumnDescriptor.
Stores the display Index assigned and managed by the board at runtime,
mirroring the TileLayoutItemState pattern.
Status uses an init setter for serialization support but must not be
changed at runtime. Index has a public setter so consumers and
SetStateAsync(TaskBoardState<TColumn>) can restore display order.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Type Parameters:
TColumn
The type of the column data items.
Syntax:
public class TaskBoardColumnState<TColumn>
Inheritance: objectTaskBoardColumnState<TColumn>
Constructors
TaskBoardColumnState()
Initializes a new instance of the TaskBoardColumnState<TColumn> class. Required for deserialization scenarios (e.g. restoring state after page reload). Set at least Status so that SetStateAsync(TaskBoardState<TColumn>) can match this entry to a live column.
Declaration
public TaskBoardColumnState()
Properties
DataItem
Gets the original raw data item from the developer's ColumnData collection.
Surfaced as TColumn Item in column-related event arguments.
Declaration
public TColumn DataItem { get; }
Property Value
TColumn
Enabled
Gets whether this column accepts card interactions (add, move-in, edit, delete).
Index
Gets or sets the zero-based display position of this column within the board. Lower values appear to the left (or top in RTL). Updated when the user reorders columns.
Status
Gets the unique status key of the column. Matched against each card's StatusField
value to assign cards to this column.
Used by SetStateAsync(TaskBoardState<TColumn>) to match saved state
entries to live columns.
Set only during initialization or deserialization; changing at runtime is not supported.
Title
Gets the display title shown in the column header.