Class DragEventArgs<T>
Provides the event data for the DragStart event of the SfListBox<TValue, TItem>
Inheritance
System.Object
DragEventArgs<T>
Namespace: Syncfusion.Blazor.DropDowns
Assembly: Syncfusion.Blazor.dll
Syntax
public class DragEventArgs<T> : Object
Type Parameters
Name | Description |
---|---|
T | The type of the DragStart event data. |
Constructors
DragEventArgs()
Declaration
public DragEventArgs()
Properties
Cancel
Gets or sets a value indicating whether the drag event should be Canceled.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
DragIndex
Gets a value indicating the index of the dragged item in the source SfListBox<TValue, TItem>
Declaration
public int DragIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 | An integer value that represents the index of the dragged item. |
Remarks
If the user selects multiple items, the DragIndex contains the last item's index.
Items
Gets the items being dragged during the drag operation.
Declaration
public IEnumerable<T> Items { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T> | An enumerable collection of type |