ASPxDocumentViewer.AutoHeight Property

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

Namespace: DevExpress.XtraReports.Web

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


public bool AutoHeight { get; set; }
Public Property AutoHeight As Boolean

Property Value

Type Default Description


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


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