aspnet-devexpress-dot-web-dot-aspxwebcontrol-4fbd3596.md
Gets or sets the height of the web server control.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public override Unit Height { get; set; }
Public Overrides Property Height As Unit
| Type | Description |
|---|---|
| Unit |
A Unit that represents the height of the control.
|
This member overrides the Height property.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Height property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
asp-net-web-forms-implement-pdf-viewer/CS/PdfViewer.ascx.cs#L42
get {
return dvDocument.Height;
}
asp-net-web-forms-implement-pdf-viewer/VB/PdfViewer.ascx.vb#L48
Get
Return Me.dvDocument.Height
End Get
See Also
KB Article: Relative height (100%) in DevExpress ASP.NET and DevExtreme controls
Github Example: Correct and incorrect examples of using height=100% in HTML