UIElement.Translation 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 x, y, and z rendering position of the element.
public:
property float3 Translation { float3 get(); void set(float3 value); };
float3 Translation();
void Translation(float3 value);
C#
public Vector3 Translation { get; set; }
var vector3 = uIElement.translation;
uIElement.translation = vector3;
Public Property Translation As Vector3
The x, y, and z rendering position of the element.
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 |