Style.Width Property
.NET Framework 3.0
Gets or sets the width of the Web server control.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
/** @property */ public Unit get_Width () /** @property */ public void set_Width (Unit value)
public function get Width () : Unit public function set Width (value : Unit)
Not applicable.
Property Value
A Unit that represents the width of the Web server control. The default is Empty, which indicates that this property is not set.| Exception type | Condition |
|---|---|
| The Value property of the Unit is negative. |
Use the Width property to specify or determine the width of the Web server control. This property is set with a Unit.
| Topic | Location |
|---|---|
| How to: Specify Multiline Input for a TextBox Web Server Control | Building ASP .NET Web Applications |
| How to: Specify Multiline Input for a TextBox Web Server Control | Building ASP .NET Web Applications |
Community Additions
ADD
Show: