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