UIElement.CenterPoint Propriété
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient ou définit le point central de l’élément, qui est le point sur lequel la rotation ou la mise à l’échelle se produit. Affecte la position de rendu de l’élément.
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
Point central de l’élément, qui est le point sur lequel la rotation ou la mise à l’échelle se produit.
Famille d’appareils |
Windows 10, version 1809 (introduit dans 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduit dans v7.0)
|
Produit | Versions |
---|---|
WinRT | Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |