UIElement.CenterPoint Property
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.
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);
C#
public Vector3 CenterPoint { get; set; }
var vector3 = uIElement.centerPoint;
uIElement.centerPoint = vector3;
Public Property CenterPoint As Vector3
The center point of the element, which is the point about which rotation or scaling occurs.
Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v7.0)
|
Product | Versions |
---|---|
WinRT | Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |