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

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

Windows 10 requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Remarks

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

The z value of the offset is always 0.

Applies to