แก้ไข

แชร์ผ่าน


DataGrid.ColumnReordered Event

Definition

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.

Applies to

See also