New to Telerik UI for BlazorStart a free 30-day trial

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:

C#
public class TaskBoardCardCreateEventArgs<TItem> : EventArgs

Inheritance: objectEventArgsTaskBoardCardCreateEventArgs<TItem>

Inherited Members EventArgs.Empty

Constructors

C#
public TaskBoardCardCreateEventArgs()
C#
public TaskBoardCardCreateEventArgs(TItem item, string status)
Parameters:itemTItemstatusstring

Properties

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

C#
public bool IsCancelled { get; set; }

Item

TItem

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

C#
public TItem Item { get; set; }

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

C#
public string Status { get; set; }