This documentation is archived and is not being maintained.
Style.Height Property
.NET Framework 1.1
Gets or sets the height of the Web server control.
[Visual Basic] Public Property Height As Unit [C#] public Unit Height {get; set;} [C++] public: __property Unit get_Height(); public: __property void set_Height(Unit); [JScript] public function get Height() : Unit; public function set Height(Unit);
Property Value
A Unit that represents the height of the Web server control. The default is Empty, which indicates that this property is not set.
Exceptions
| Exception Type | Condition |
|---|---|
| ArgumentOutOfRangeException | The Value property of the Unit is negative. |
Remarks
Use the Height property to specify or determine the height of the Web server control. This property is set with a Unit.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
Style Class | Style Members | System.Web.UI.WebControls Namespace | Unit
Show: