ASPxClientDocumentPreviewTabPanel.collapsed Property

Specifies whether the panel at the right of the Document Viewer is collapsed.

Namespace: DevExpress.XtraReports.Web.Scripts

Assembly: DevExpress.XtraReports.v18.2.Web.Scripts.dll


public KnockoutObservable<bool> collapsed { get; }
Public ReadOnly Property collapsed As KnockoutObservable(Of Boolean)

Property Value

Type Description

A knockout observable object that specifies whether the tab panel is collapsed.


The code sample below demonstrates how to automatically collapse the tab panel after resetting parameter values in the ASPxClientReportDesigner.PreviewParametersReset event handler.

<script type="text/javascript" id="script">
    function previewParametersReset(s, e) {
        var preview = s.GetPreviewModel();
        if (preview) {

<dx:ASPxReportDesigner ID="ASPxReportDesigner1" runat="server">      
    <ClientSideEvents PreviewParametersReset="previewParametersReset"/>  
See Also