Class RowDroppedEventArgs<T>
Provides information about the RowDropped event.
Inherited Members
Namespace: Syncfusion.Blazor.Grids
Assembly: Syncfusion.Blazor.dll
Syntax
public class RowDroppedEventArgs<T> : GridEventBaseArgs
Type Parameters
Name | Description |
---|---|
T | TValue of the grid component |
Constructors
RowDroppedEventArgs()
Declaration
public RowDroppedEventArgs()
Properties
Action
Gets the current action performed during drag and drop between two grids.
Declaration
public string Action { get; }
Property Value
Type | Description |
---|---|
System.String | The current action can be one of the following:
|
Remarks
The value of the Action property will be null
when the drag and drop operation occurs within the same grid and the RowDropping event is triggered.
ClientX
Gets the X-coordinate of the mouse pointer in the browser's client area at the time the event was triggered.
Declaration
public double ClientX { get; }
Property Value
Type | Description |
---|---|
System.Double | The X-coordinate of the mouse pointer. |
ClientY
Gets the Y-coordinate of the mouse pointer in the browser's client area at the time the event was triggered.
Declaration
public double ClientY { get; }
Property Value
Type | Description |
---|---|
System.Double | The Y-coordinate of the mouse pointer. |
Data
Gets the collection of row data that is going to be dragged.
Declaration
public List<T> Data { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<T> | A list of the row data 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 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. |
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.