menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class KanbanTargetDetails<TValue> - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class KanbanTargetDetails<TValue>

    Represents details for a target location within the Kanban during drag and drop operations.

    Inheritance
    System.Object
    KanbanTargetDetails<TValue>
    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 String.Empty.

    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 null.

    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 0.

    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 TValue representing the previous card's data, defaults to null.

    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 null.

    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 null.

    Remarks

    Returns the swimlane key field based on where the cursor is positioned over the Kanban board.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved