Class RowDragEventArgs<T>
Provides information about the OnRowDragStart event.
Inherited Members
Namespace: Syncfusion.Blazor.Grids
Assembly: Syncfusion.Blazor.dll
Syntax
public class RowDragEventArgs<T> : GridEventBaseArgs
Type Parameters
Name | Description |
---|---|
T | TValue of the grid component. |
Constructors
RowDragEventArgs()
Declaration
public RowDragEventArgs()
Properties
Cancel
Gets or sets whether to cancel the row drop action.
Declaration
public bool Cancel { get; set; }
Property Value
Type |
---|
System.Boolean |
Data
Gets a collection of row data associated with the drag start action.
Declaration
public List<T> Data { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<T> | A collection of row data that are associated with the drag start action. |
DropIndex
Gets the row index of the row that is associated with the drop action.
Declaration
public int DropIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The index of the row that is associated with the drop action. |
FromIndex
Gets the row index of the row that is associated with the drag start action.
Declaration
public int FromIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The index of the row that is being dragged from the grid. |
OriginalEvent
Define the mouse event.
Declaration
public MouseEventArgs OriginalEvent { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.Web.MouseEventArgs |
Rows
Defines the selected row's element.
Declaration
public List<DOM> Rows { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<DOM> |
Target
Gets the target element's ID and its XPath.
Declaration
public DOM Target { get; }
Property Value
Type | Description |
---|---|
DOM |
|
TargetDimension
Gets the dimensions of the target element.
Declaration
public Dimension TargetDimension { get; }
Property Value
Type |
---|
Dimension |
Remarks
The dimensions include the following properties:
- LeftThe left position of the target element.
- RightThe right position of the target element.
- TopThe top position of the target element.
- BottomThe bottom position of the target element.
- HeightThe height of the target element.
- WidthThe width of the target element.