Visual.RelativeOffsetAdjustment Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.