DataGrid.ColumnHeaderDragCompleted Event

Occurs when the user drops a column header that was being dragged using the mouse.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Data (in System.Windows.Controls.Data.dll)

Public Event ColumnHeaderDragCompleted As EventHandler(Of DragCompletedEventArgs)
<sdk:DataGrid ColumnHeaderDragCompleted="eventhandler"/>

The ColumnHeaderDragCompleted event occurs when the user releases the left mouse button after dragging a column header. Users can change the column order by dragging column headers only if the CanUserReorderColumns property is true.


Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions