InterfaceITaskBoardCardDescriptor
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:
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).
Description
The body text of the card, read from the field configured by CardDescriptionField. Also searched by the toolbar search box when filtering cards.
Id
The unique identifier of the card, read from the field configured by CardIdField. Must be distinct across all items in CardData.
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.
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.
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.
Title
The display title of the card, read from the field configured by CardTitleField. Also searched by the toolbar search box when filtering cards.