Class
TaskBoardColumnHeaderTemplateContext<TColumn>

The context object passed to the ColumnHeaderTemplate render fragment. Provides the runtime state of the column, the effective button configuration, and built-in command methods.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Type Parameters:

TColumn

The type of the column data items in ColumnData.

Syntax:

cs-api-definition
public class TaskBoardColumnHeaderTemplateContext<TColumn>

Inheritance: objectTaskBoardColumnHeaderTemplateContext<TColumn>

Constructors

TaskBoardColumnHeaderTemplateContext()

Declaration

cs-api-definition
public TaskBoardColumnHeaderTemplateContext()

Properties

AddCardAsync

Opens the card-add pane targeting this column. Equivalent to clicking the built-in Add Card button.

Declaration

cs-api-definition
public Func<Task> AddCardAsync { get; init; }

Property Value

Func<Task>

Buttons

The effective button configuration for this column, resolved from the column-level setting, then Buttons, then the default set.

Declaration

cs-api-definition
public TaskBoardColumnButtons Buttons { get; init; }

Property Value

TaskBoardColumnButtons

Column

The runtime state of the column, including its display index, status, title, WIP limit, width, and the original data item via DataItem.

Declaration

cs-api-definition
public TaskBoardColumnState<TColumn> Column { get; init; }

Property Value

TaskBoardColumnState<TColumn>

DeleteColumnAsync

Deletes this column (with confirmation if ConfirmDelete is enabled). Equivalent to clicking the built-in Delete button.

Declaration

cs-api-definition
public Func<Task> DeleteColumnAsync { get; init; }

Property Value

Func<Task>

EditColumnAsync

Opens the column title inline editor. Equivalent to clicking the built-in Edit button.

Declaration

cs-api-definition
public Func<Task> EditColumnAsync { get; init; }

Property Value

Func<Task>