Class KanbanTargetDetails<TValue>
Represents details for a target location within the Kanban during drag and drop operations.
Inheritance
Namespace: Syncfusion.Blazor.Kanban
Assembly: Syncfusion.Blazor.dll
Syntax
public class KanbanTargetDetails<TValue> : Object
Type Parameters
Name | Description |
---|---|
TValue | The type of the card data used in the Kanban target details. |
Remarks
This model contains information crucial during drag-and-drop operations, such as the position and identifiers of cards.
Constructors
KanbanTargetDetails()
Declaration
public KanbanTargetDetails()
Properties
ColumnKeyField
Gets or sets the column key field based on the mouse cursor position.
Declaration
public string ColumnKeyField { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the column key field, defaults to |
Remarks
Returns the column key field for the current cursor position during a drag-and-drop operation.
CurrentCardId
Gets or sets the current card ID based on the cursor position.
Declaration
public string CurrentCardId { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the current card ID at the cursor location, defaults to |
Remarks
Returns the ID of the card currently under the cursor, aiding in drag-and-drop operations.
Index
Gets or sets the current card position in the column.
Declaration
public int Index { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | An integer indicating the card's index, defaults to |
Remarks
This property returns the position of the card within its column based on the cursor's location.
PreviousCardData
Gets or sets the data of the previous card.
Declaration
public List<TValue> PreviousCardData { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<TValue> | A list of |
Remarks
This property helps retrieve the state of the previous card when modifying the order within its column.
PreviousCardId
Gets or sets the previous card ID based on the cursor position.
Declaration
public string PreviousCardId { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string containing the previous card's unique ID, defaults to |
Remarks
It is used when setting SortOrderBy is Index
, crucial for identifying card order.
SwimlaneKeyField
Gets or sets the swimlane key field based on the current mouse position.
Declaration
public string SwimlaneKeyField { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string indicating the swimlane key field; default is |
Remarks
Returns the swimlane key field based on where the cursor is positioned over the Kanban board.