TranslateTransform.X 屬性

定義

取得或設定沿著 X 軸平移的距離。

public:
 property double X { double get(); void set(double value); };
public double X { get; set; }
member this.X : double with get, set
Public Property X As Double

屬性值

要沿著 X 軸平移 (移動) 物件的距離。 預設值為 0。

備註

負值會將物件向左移動;正值會將物件向右移動。

相依性屬性資訊

識別碼欄位 XProperty
中繼資料屬性設定為 true

適用於

另請參閱