'Declaration
Public Event ColumnReordering As EventHandler(Of DataGridColumnReorderingEventArgs)
public event EventHandler<DataGridColumnReorderingEventArgs> ColumnReordering
Event Data
The event handler receives an argument of type DataGridColumnReorderingEventArgs containing data related to this event. The following DataGridColumnReorderingEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether the event is canceled. |
Column | Gets the reordering column. |
TargetColumnIndex | Gets or sets the target index of the column. |
Remarks
The move operation can be cancelled by setting DataGridColumnReorderingEventArgs.Cancel property of the event arguments to true;
See Also