Editare

Partajați prin


Style.Height Property

Definition

Gets or sets the height of the Web server control.

public:
 property System::Web::UI::WebControls::Unit Height { System::Web::UI::WebControls::Unit get(); void set(System::Web::UI::WebControls::Unit value); };
[System.ComponentModel.Bindable(true)]
public System.Web.UI.WebControls.Unit Height { get; set; }
public System.Web.UI.WebControls.Unit Height { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.Height : System.Web.UI.WebControls.Unit with get, set
member this.Height : System.Web.UI.WebControls.Unit with get, set
Public Property Height As 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.

Attributes

Exceptions

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.

Applies to

See also