Experimental: this API is experimental and might be changed or removed in the future.

ContentDragger.CalculatePosition

Switch to Manual
protected Rect CalculatePosition (float x, float y, float width, float height);

Parameters

x新的 x 位置。
y新的 y 位置。
width元素宽度。
height元素高度。

Returns

Rect 已计算并验证的位置。

Description

计算拖动的元素的新位置。