Visual.RelativeOffsetAdjustment Property

Definition

Specifies the offset of the visual with respect to the size of its parent visual.

public:
 property float3 RelativeOffsetAdjustment { float3 get(); void set(float3 value); };
float3 RelativeOffsetAdjustment();

void RelativeOffsetAdjustment(float3 value);
public Vector3 RelativeOffsetAdjustment { get; set; }
var vector3 = visual.relativeOffsetAdjustment;
visual.relativeOffsetAdjustment = vector3;
Public Property RelativeOffsetAdjustment As Vector3

Property Value

Vector3 Vector3

float3

The offset of the visual with respect to the size of its parent visual.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

Value is normalized with respect to the size of the visual's parent. For example, a value of (0.0, 0.5, 0.0) means that the vertical position of the visual is at the midpoint between the top and bottom of its parent visual's bounds. This property is a Vector3 for consistency with the Offset property, however the Z component of the RelativeOffsetAdjustment property currently has no effect.

Applies to