Share via


ReportViewer.Width 屬性

取得或設定控制項的寬度。

命名空間:  Microsoft.Reporting.WebForms
組件:  Microsoft.ReportViewer.WebForms (在 Microsoft.ReportViewer.WebForms.dll 中)

語法

'宣告
Public Overrides Property Width As Unit
public override Unit Width { get; set; }
public:
virtual property Unit Width {
    Unit get () override;
    void set (Unit value) override;
}
abstract Width : Unit with get, set
override Width : Unit with get, set
override function get Width () : Unit
override function set Width (value : Unit)

屬性值

類型:Unit
表示控制項寬度的 [System.Web.UI.WebControls.Unit] 物件。

備註

如需詳細資訊,請參閱 WebControl.Width。

請參閱

參考

ReportViewer 類別

Microsoft.Reporting.WebForms 命名空間