Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Height Property

GenericWebPart.Height Property

Gets or sets the height (in pixels) of a control.

Namespace:  System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

public override Unit Height { get; set; }

Property Value

Type: System.Web.UI.WebControls.Unit
A Unit that indicates the height of the control.

This property overrides the base property so that you can get or set the height on the child control as if it were a true WebPart control.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft