ComponentOne DataGrid for WPF and Silverlight
ColumnReordering Event (C1DataGrid)

C1.Silverlight.DataGrid Namespace > C1DataGrid Class : ColumnReordering Event
Occurs before a move column operation is committed. The move operation can be started by the user when it drops a column header in a new position or when MoveColumn method is called.
Syntax
'Declaration
 
Public Event ColumnReordering As System.EventHandler(Of DataGridColumnReorderingEventArgs)
public event System.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.

PropertyDescription
Gets or sets a value indicating whether the event is canceled.  
Gets the reordering column.  
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