ReportViewer.Width Property

Gets or sets the width of the control.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
<DefaultValueAttribute(GetType(Unit), "400px")> _
Public Overrides Property Width As Unit
'Usage
Dim instance As ReportViewer
Dim value As Unit

value = instance.Width

instance.Width = value
[DefaultValueAttribute(typeof(Unit), "400px")] 
public override Unit Width { get; set; }
[DefaultValueAttribute(typeof(Unit), L"400px")] 
public:
virtual property Unit Width {
    Unit get () override;
    void set (Unit value) override;
}
/** @property */
public Unit get_Width ()

/** @property */
public void set_Width (Unit value)
public override function get Width () : Unit

public override function set Width (value : Unit)

Property Value

A System.Web.UI.WebControls.Unit object that represents the width of the control.

Remarks

For more information, see System.Web.UI.WebControls.WebControl.Width.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WebForms Namespace