ClassTaskBoardCardTemplateContext<TItem, TColumn>
The context object passed to the CardTemplate render fragment. Provides the typed card data item, the runtime state of the column, and built-in command methods.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Type Parameters:
TItem
The type of the card data items.
TColumn
The type of the column data items.
Syntax:
public class TaskBoardCardTemplateContext<TItem, TColumn>
Inheritance: objectTaskBoardCardTemplateContext<TItem, TColumn>
Constructors
TaskBoardCardTemplateContext()
Declaration
public TaskBoardCardTemplateContext()
Properties
ColumnState
The runtime state of the column this card belongs to, including its display index, status, and configuration.
Declaration
public TaskBoardColumnState<TColumn> ColumnState { get; init; }
Property Value
TaskBoardColumnState<TColumn>
DeleteCardAsync
Deletes this card (with confirmation if ConfirmDelete is enabled). Equivalent to selecting "Delete Card" from the built-in actions menu.
EditCardAsync
Opens the card edit pane for this card. Equivalent to selecting "Edit Card" from the built-in actions menu.