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

Declaration

[DefaultValue(true)]
public bool AutoHeight { get; set; }
<DefaultValue(True)>
Public Property AutoHeight As Boolean

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