共用方式為


RelativePoint.X 屬性

取得或設定 RelativePoint 結構的 X 座標。

命名空間:  Microsoft.Windows.Design.Interaction
組件:  Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)

語法

'宣告
Public Property X As Double
    Get
    Set
public double X { get; set; }
public:
property double X {
    double get ();
    void set (double value);
}
member X : float with get, set
function get X () : double
function set X (value : double)

屬性值

型別:System.Double
RelativePoint 結構的 X 座標。

.NET Framework 安全性

請參閱

參考

RelativePoint 結構

Microsoft.Windows.Design.Interaction 命名空間

其他資源

WPF 設計工具擴充性