Class
TaskBoardColumnReorderEventArgs<TColumn>

The event arguments for the OnColumnReorder event.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Type Parameters:

TColumn

The type of the column data items in ColumnData.

Syntax:

cs-api-definition
public class TaskBoardColumnReorderEventArgs<TColumn> : EventArgs

Inheritance: objectEventArgsTaskBoardColumnReorderEventArgs<TColumn>

Inherited Members EventArgs.Empty

Constructors

TaskBoardColumnReorderEventArgs()

Declaration

cs-api-definition
public TaskBoardColumnReorderEventArgs()

TaskBoardColumnReorderEventArgs(TColumn, int, int)

Declaration

cs-api-definition
public TaskBoardColumnReorderEventArgs(TColumn item, int oldIndex, int newIndex)

Parameters

item

TColumn

oldIndex

int

newIndex

int

Properties

IsCancelled

Set to true to prevent the reorder from completing and keep the column in its original position.

Declaration

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

Property Value

bool

Item

The column data item that was dragged to a new position. Update its ColumnIndexField in your data source using NewIndex.

Declaration

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

Property Value

TColumn

NewIndex

The zero-based column position after the drag.

Declaration

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

Property Value

int

OldIndex

The zero-based column position before the drag.

Declaration

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

Property Value

int