PrepareHeaderDrag method
Prepares the specified column header for reordering.
private void PrepareHeaderDrag(GridViewColumnHeader header, Point pos, Point relativePos, bool cancelInvoke)
Warning
This method is private and is not meant to be used directly in your code.
Microsoft does not support the use of this method in a production application under any circumstance.
Parameters
header
GridViewColumnHeader
The column header to prepare for reordering.
pos
Point
The position, relative to GridViewHeaderRowPresenter, where the dragging starts.
relativePos
Point
The position, relative to header
, where the dragging starts.
cancelInvoke
Boolean
true
to cancel the reordering; otherwise, false
.
Requirements
Namespace: System.Windows.Controls
Assembly: PresentationFramework.dll
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for