Udostępnij za pośrednictwem


UIElement.ActualOffset Property

Definition

Gets the position of this UIElement, relative to its parent, computed during the arrange pass of the layout process.

public:
 property float3 ActualOffset { float3 get(); };
float3 ActualOffset();
public Vector3 ActualOffset { get; }
var vector3 = uIElement.actualOffset;
Public ReadOnly Property ActualOffset As Vector3

Property Value

Vector3 Vector3

float3

The position of this UIElement, relative to its parent, computed during the arrange pass of the layout process.

Remarks

ActualOffset can be used as an input property to an ExpressionAnimation.

The z value of the offset is always 0.

Applies to