Class GridQueryDragColumnHeaderEventArgs
Holds a reference to a GridControlBase that initiates the event and the column that is affected.
Inheritance
System.Object
GridQueryDragColumnHeaderEventArgs
Inherited Members
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridQueryDragColumnHeaderEventArgs : SyncfusionRoutedEventArgs
Remarks
Constructors
GridQueryDragColumnHeaderEventArgs(Int32, Int32, GridQueryDragColumnHeaderReason, RoutedEvent, Object)
Initializes the event args.
Declaration
public GridQueryDragColumnHeaderEventArgs(int column, int insertBeforeColumn, GridQueryDragColumnHeaderReason reason, RoutedEvent routedEvent, object source)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | column | Column Name. |
System.Int32 | insertBeforeColumn | Name of the column to insert at. You can call TableDescriptor.Columns[InsertBeforeColumn] to get the GridColumnDescriptor. |
GridQueryDragColumnHeaderReason | reason | Reason why this event was raised (Show Red Indicator, MouseUp, or HitTest). |
System.Windows.RoutedEvent | routedEvent | |
System.Object | source |
Properties
AllowDrag
Declaration
[TraceProperty(true)]
public bool AllowDrag { get; set; }
Property Value
Type |
---|
System.Boolean |
Column
Column Name. You can call TableDescriptor.Columns[Column] to get the GridColumnDescriptor.
Declaration
[TraceProperty(true)]
public int Column { get; }
Property Value
Type |
---|
System.Int32 |
InsertBeforeColumn
Name of the column to insert at. You can call TableDescriptor.Columns[InsertBeforeColumn] to get the GridColumnDescriptor.
Declaration
[TraceProperty(true)]
public int InsertBeforeColumn { get; set; }
Property Value
Type |
---|
System.Int32 |
Reason
Reason why this event was raised (Show Red Indicator, MouseUp, or HitTest).
Declaration
[TraceProperty(true)]
public GridQueryDragColumnHeaderReason Reason { get; set; }
Property Value
Type |
---|
GridQueryDragColumnHeaderReason |