DataGrid.ColumnReordered Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when a column moves to a new position in the display order.
public:
event EventHandler<System::Windows::Controls::DataGridColumnEventArgs ^> ^ ColumnReordered;
public event EventHandler<System.Windows.Controls.DataGridColumnEventArgs> ColumnReordered;
member this.ColumnReordered : EventHandler<System.Windows.Controls.DataGridColumnEventArgs>
Public Custom Event ColumnReordered As EventHandler(Of DataGridColumnEventArgs)
Public Event ColumnReordered As EventHandler(Of DataGridColumnEventArgs)
Event Type
Remarks
Users can change the column order by dragging column headers only if the CanUserReorderColumns property is true
.