Skip to main content

ASPxDocumentViewer.AutoHeight Property

Specifies whether the Document Viewer’s height is adjusted automatically to fit its panels.

Namespace: DevExpress.XtraReports.Web

Assembly: DevExpress.XtraReports.v24.1.Web.WebForms.dll

NuGet Package: DevExpress.Web.Reporting

Declaration

[DefaultValue(true)]
public bool AutoHeight { get; set; }

Property Value

Type Default Description
Boolean true

true, to automatically adjust the Document Viewer’s height; otherwise, false.

Remarks

Sizing of the DocumentViewer control’s panels is managed by an internal ASPxSplitter control. By default, the Parameters splitter pane has its SplitterPane.AutoHeight property set to true, which may force the Document Viewer to change it’s height when the Parameters pane is automatically resized to fit its content. To prevent this behavior, set the AutoHeight property to false.

See Also