Dela via


UIElement.CenterPoint Property

Definition

Gets or sets the center point of the element, which is the point about which rotation or scaling occurs. Affects the rendering position of the element.

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

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

Property Value

Vector3 Vector3

float3

The center point of the element, which is the point about which rotation or scaling occurs.

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