Edit

Bagikan melalui


DataGrid.ColumnHeaderDragCompleted Event

Definition

Occurs when the user releases a column header after dragging it by using the mouse.

public:
 event EventHandler<System::Windows::Controls::Primitives::DragCompletedEventArgs ^> ^ ColumnHeaderDragCompleted;
public event EventHandler<System.Windows.Controls.Primitives.DragCompletedEventArgs> ColumnHeaderDragCompleted;
member this.ColumnHeaderDragCompleted : EventHandler<System.Windows.Controls.Primitives.DragCompletedEventArgs> 
Public Custom Event ColumnHeaderDragCompleted As EventHandler(Of DragCompletedEventArgs) 
Public Event ColumnHeaderDragCompleted As EventHandler(Of DragCompletedEventArgs) 

Event Type

Remarks

Users can change the column order by dragging column headers only if the CanUserReorderColumns property is true.

Applies to

See also