DataGrid.ColumnReordering 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 before a column moves to a new position in the display order.
public:
event EventHandler<System::Windows::Controls::DataGridColumnReorderingEventArgs ^> ^ ColumnReordering;
public event EventHandler<System.Windows.Controls.DataGridColumnReorderingEventArgs> ColumnReordering;
member this.ColumnReordering : EventHandler<System.Windows.Controls.DataGridColumnReorderingEventArgs>
Public Custom Event ColumnReordering As EventHandler(Of DataGridColumnReorderingEventArgs)
Public Event ColumnReordering As EventHandler(Of DataGridColumnReorderingEventArgs)
Event Type
Remarks
You can handle this event to customize the visual display of a column header drag operation, or to replace the default drag behavior completely. To customize the appearance of the dragged column header and the drop location indicator, set the DragIndicator and DropLocationIndicator properties. Alternatively, you can set the DragIndicatorStyle and DropLocationIndicatorStyle properties.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om