Skip to main content

DocumentViewerSettings.AutoHeight Property

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public bool AutoHeight { get; set; }

Property Value

Type Description
Boolean

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