Class QueryColumnDraggingEventArgs
Provides data for QueryColumnDragging event.
Inherited Members
Namespace: Syncfusion.SfDataGrid
Assembly: Syncfusion.SfDataGrid.Android.dll
Syntax
public class QueryColumnDraggingEventArgs : GridCancelEventArgs
  Constructors
QueryColumnDraggingEventArgs(SfDataGrid)
Initializes a new instance of the QueryColumnDraggingEventArgs class.
Declaration
public QueryColumnDraggingEventArgs(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 column drag view reaches the left or right ends of the SfDataGrid.
Declaration
public bool CanAutoScroll { get; set; }
  Property Value
| Type | 
|---|
| System.Boolean | 
DraggingPosition
Gets the position of drag and drop view during a column drag-and-drop operation.
Declaration
public Point DraggingPosition { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Drawing.Point | The System.Drawing.Point that represents the position of drag and drop view during the column drag-and-drop operation.  | 
      
From
Gets the index of the column that is being dragged.
Declaration
public int From { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | An index of the column being dragged.  | 
      
Reason
Gets the current status (drag started or dragging or drag ended) when performing column drag-and-drop operation.
Declaration
public QueryColumnDraggingReason Reason { get; }
  Property Value
| Type | Description | 
|---|---|
| QueryColumnDraggingReason | Returns the QueryColumnDraggingReason that specifies the current status (drag started or dragging or drag ended) when performing column drag-and-drop operation.  | 
      
To
Gets the index of the column that the drag view is currently placed over or dropped.
Declaration
public int To { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | An index of the column that the drag view is currently placed over or dropped.  |