UIElement.ActualOffset UIElement.ActualOffset UIElement.ActualOffset UIElement.ActualOffset Property

Definition

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

public : Vector3 ActualOffset { get; }
Vector3 ActualOffset();
public Vector3 ActualOffset { get; }
Public ReadOnly Property ActualOffset As Vector3

Property Value

Vector3 Vector3

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

Additional features and requirements

Device family
Windows 10, version 1903 (introduced v10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v8)

Remarks

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

The z value of the offset is always 0.