Visual.RelativeSizeAdjustment Visual.RelativeSizeAdjustment Visual.RelativeSizeAdjustment Visual.RelativeSizeAdjustment Property

Definition

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

public : Vector2 RelativeSizeAdjustment { get; set; }
Vector2 RelativeSizeAdjustment();

void RelativeSizeAdjustment(Vector2 relativesizeadjustment);
public Vector2 RelativeSizeAdjustment { get; set; }
Public ReadWrite Property RelativeSizeAdjustment As Vector2

Property Value

Vector2 Vector2

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

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Remarks

Value is normalized with respect to the size of the visual's parent. For example, a value of (1.0, 0.5) indicates that the visual should be the full width of its parent but only half the height.