共用方式為


DataGrid.ColumnHeaderDragCompleted 事件

定義

發生於使用者使用滑鼠拖曳資料行標題之後放開時。

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) 

事件類型

備註

只有當 屬性為 trueCanUserReorderColumns ,使用者才能拖曳資料行標頭來變更資料行順序。

適用於

另請參閱