Class QueryRowDraggingEventArgs
Provides data for QueryRowDragging event.
Namespace: Syncfusion.SfDataGrid.XForms
Assembly: Syncfusion.SfDataGrid.XForms.dll
Syntax
public class QueryRowDraggingEventArgs : GridCancelEventArgs
Constructors
QueryRowDraggingEventArgs(SfDataGrid)
Initializes a new instance of the QueryRowDraggingEventArgs class.
Declaration
public QueryRowDraggingEventArgs(SfDataGrid dataGrid)
Parameters
Type | Name | Description |
---|---|---|
SfDataGrid | dataGrid | The source of the event. |
Properties
CanAutoScroll
Gets or sets a value indicating whether auto-scrolling should happen when row drag view reaches the top or bottom of the SfDataGrid.
Declaration
public bool CanAutoScroll { get; set; }
Property Value
Type |
---|
System.Boolean |
CurrentRowData
Gets the underlying data of the current row over which the drag view is placed.
Declaration
public object CurrentRowData { get; }
Property Value
Type | Description |
---|---|
System.Object | The underlying data of the current row over which the drag view is placed. |
From
Gets the index of the row that is being dragged.
Declaration
public int From { get; }
Property Value
Type | Description |
---|---|
System.Int32 | An index of the row being dragged. |
Position
Gets the current position of the drag and drop view in a SfDataGrid.
Declaration
public Point Position { get; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Point | The current position of the drag and drop view in a SfDataGrid. |
Reason
Gets the current status (drag started or dragging or drag ended) when performing row drag-and-drop operation.
Declaration
public QueryRowDraggingReason Reason { get; }
Property Value
Type | Description |
---|---|
QueryRowDraggingReason | Returns the QueryRowDraggingReason that specifies the current status (drag started or dragging or drag ended) when performing row drag-and-drop operation. |
RowData
Gets the underlying data of the row being dragged.
Declaration
public object RowData { get; }
Property Value
Type | Description |
---|---|
System.Object | The underlying data of the row being dragged. |
To
Gets the index of the row that the drag view is currently placed over or dropped.
Declaration
public int To { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The index of the row that the drag view is currently placed over or dropped. |