UIElement.Rotation 屬性

定義

取得或設定順時針旋轉的角度,以度為單位。 相對於 RotationAxis 和 CenterPoint 旋轉。 影響專案的轉譯位置。

public:
 property float Rotation { float get(); void set(float value); };
float Rotation();

void Rotation(float value);
public float Rotation { get; set; }
var single = uIElement.rotation;
uIElement.rotation = single;
Public Property Rotation As Single

屬性值

Single

float

順時針旋轉的角度,以度為單位。

Windows 需求

裝置系列
Windows 10, version 1809 (已於 10.0.17763.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v7.0 引進)

適用於