Class
TaskBoardCardCreateEventArgs<TItem>

The event arguments for the OnCardCreate event.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Type Parameters:

TItem

The type of the card data items in CardData.

Syntax:

cs-api-definition
public class TaskBoardCardCreateEventArgs<TItem> : EventArgs

Inheritance: objectEventArgsTaskBoardCardCreateEventArgs<TItem>

Inherited Members EventArgs.Empty

Constructors

TaskBoardCardCreateEventArgs()

Declaration

cs-api-definition
public TaskBoardCardCreateEventArgs()

TaskBoardCardCreateEventArgs(TItem, string)

Declaration

cs-api-definition
public TaskBoardCardCreateEventArgs(TItem item, string status)

Parameters

item

TItem

status

string

Properties

IsCancelled

Set to true to abort the create operation and prevent the card from being committed.

Declaration

cs-api-definition
public bool IsCancelled { get; set; }

Property Value

bool

Item

The new card data item to be created in the CardData collection. Add this to your data source to persist the new card.

Declaration

cs-api-definition
public TItem Item { get; set; }

Property Value

TItem

Status

The status of the column the card is being created in. Matches the column's ColumnStatusField value.

Declaration

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

Property Value

string