Interface
ITaskBoardCardDescriptor

Defines the card data contract used by TelerikTaskBoard<TItem, TColumn> for rendering and event delivery.

Implement this interface on your card model class to enable the performance fast path: when a CardData item implements ITaskBoardCardDescriptor, the component reads properties directly instead of using reflection for each Card*Field parameter (CardTitleField, CardStatusField, etc.).

Definition

Namespace:Telerik.Blazor.Components.TaskBoard

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public interface ITaskBoardCardDescriptor

Properties

DataItem

The original raw data item from the developer's TItem collection. Surfaced as object Item in all card-related event arguments (e.g. TaskBoardCardMoveEventArgs, TaskBoardCardClickEventArgs).

Declaration

cs-api-definition
object DataItem { get; set; }

Property Value

object

Description

The body text of the card, read from the field configured by CardDescriptionField. Also searched by the toolbar search box when filtering cards.

Declaration

cs-api-definition
string Description { get; set; }

Property Value

string

Id

The unique identifier of the card, read from the field configured by CardIdField. Must be distinct across all items in CardData.

Declaration

cs-api-definition
object Id { get; set; }

Property Value

object

Index

The sort position of the card within its column, read from the field configured by CardIndexField. Cards are displayed in ascending order by this value within each column.

Declaration

cs-api-definition
int Index { get; set; }

Property Value

int

Priority

The priority key of the card, read from the field configured by CardPriorityField. Matched against Value to render the colored priority indicator. null or empty when no priority field is configured.

Declaration

cs-api-definition
string Priority { get; set; }

Property Value

string

Status

The status value used to assign the card to a column, read from the field configured by CardStatusField. Matched against the Status of a column in ColumnData to determine which column the card appears in.

Declaration

cs-api-definition
string Status { get; set; }

Property Value

string

Title

The display title of the card, read from the field configured by CardTitleField. Also searched by the toolbar search box when filtering cards.

Declaration

cs-api-definition
string Title { get; set; }

Property Value

string