Class KanbanTargetDetails<TValue>
Represents details for a target location within the Kanban during drag and drop operations.
Inherited Members
Namespace: Syncfusion.Blazor.Kanban
Assembly: Syncfusion.Blazor.dll
Syntax
public class KanbanTargetDetails<TValue>
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
[JsonPropertyName("columnKeyField")]
public string ColumnKeyField { get; set; }
Property Value
| Type | Description |
|---|---|
| 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
[JsonPropertyName("currentCardId")]
public string CurrentCardId { get; set; }
Property Value
| Type | Description |
|---|---|
| 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
[JsonPropertyName("index")]
public int Index { get; set; }
Property Value
| Type | Description |
|---|---|
| int | 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
[JsonPropertyName("previousCardData")]
public List<TValue> PreviousCardData { get; set; }
Property Value
| Type | Description |
|---|---|
| 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
[JsonPropertyName("previousCardId")]
public string PreviousCardId { get; set; }
Property Value
| Type | Description |
|---|---|
| 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
[JsonPropertyName("swimlaneKeyField")]
public string SwimlaneKeyField { get; set; }
Property Value
| Type | Description |
|---|---|
| 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.