Back to Devexpress

ASPxWebControl.Height Property

aspnet-devexpress-dot-web-dot-aspxwebcontrol-4fbd3596.md

latest2.6 KB
Original Source

ASPxWebControl.Height Property

Gets or sets the height of the web server control.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public override Unit Height { get; set; }
vb
Public Overrides Property Height As Unit

Property Value

TypeDescription
Unit

A Unit that represents the height of the control.

|

Remarks

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

csharp
get {
    return dvDocument.Height;
}

asp-net-web-forms-implement-pdf-viewer/VB/PdfViewer.ascx.vb#L48

vb
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

ASPxWebControl Class

ASPxWebControl Members

DevExpress.Web Namespace