Class
TaskBoardCardMoveEventArgs<TItem>

The event arguments for the OnCardMove 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 TaskBoardCardMoveEventArgs<TItem> : EventArgs

Inheritance: objectEventArgsTaskBoardCardMoveEventArgs<TItem>

Inherited Members EventArgs.Empty

Constructors

TaskBoardCardMoveEventArgs()

Declaration

cs-api-definition
public TaskBoardCardMoveEventArgs()

TaskBoardCardMoveEventArgs(TItem, string, string, int, int)

Declaration

cs-api-definition
public TaskBoardCardMoveEventArgs(TItem item, string oldStatus, string newStatus, int oldIndex, int newIndex)

Parameters

item

TItem

oldStatus

string

newStatus

string

oldIndex

int

newIndex

int

Properties

IsCancelled

Set to true to prevent the move from completing and keep the card in its original position.

Declaration

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

Property Value

bool

Item

The moved card's data item. Update its CardStatusField and CardIndexField in your data source using NewStatus and NewIndex.

Declaration

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

Property Value

TItem

NewIndex

The zero-based card position within its column after the move.

Declaration

cs-api-definition
public int NewIndex { get; set; }

Property Value

int

NewStatus

The ColumnStatusField value of the destination column.

Declaration

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

Property Value

string

OldIndex

The zero-based card position within its column before the move.

Declaration

cs-api-definition
public int OldIndex { get; set; }

Property Value

int

OldStatus

The ColumnStatusField value of the source column.

Declaration

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

Property Value

string