ElementPosition.Width 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定圖表元素的寬度。
public:
property float Width { float get(); void set(float value); };
[System.ComponentModel.Bindable(true)]
public float Width { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.Width : single with get, set
Public Property Width As Single
屬性值
一個 float 代表圖表元素寬度的值。
- 屬性
備註
此性質總是使用相對座標;如果你設定的值超出 0-100 像素範圍,就會拋出例外。