Share 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.

Applies to