PrepareHeaderDrag 方法

准备用于重新排序的指定列标题。

private void PrepareHeaderDrag(GridViewColumnHeader header, Point pos, Point relativePos, bool cancelInvoke)

警告

此方法是私有的,不应直接在代码中使用。

Microsoft在任何情况下都不支持在生产应用程序中使用此方法。

参数

header GridViewColumnHeader
要重新排序的列标题。

pos Point
相对于 GridViewHeaderRowPresenter的位置,拖动开始的位置。

relativePos Point
相对于 header的位置,拖动开始的位置。

cancelInvoke Boolean
true 取消重新排序;否则,false

要求

命名空间:System.Windows.Controls

程序集: PresentationFramework.dll

另请参阅