Share via


UIElement.Scale Property

Definition

Gets or sets the scale of the element. Scales relative to the element's CenterPoint. Affects the rendering position of the element.

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

void Scale(float3 value);
public Vector3 Scale { get; set; }
var vector3 = uIElement.scale;
uIElement.scale = vector3;
Public Property Scale As Vector3

Property Value

Vector3 Vector3

float3

The scale of the element, relative to the element's CenterPoint.

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Applies to