Skip to main content
All docs
V18.2

ASPxClientDocumentPreviewTabPanel.width Property

Specifies the width of the panel at the right of the Document Viewer.

Namespace: DevExpress.XtraReports.Web.Scripts

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

Declaration

public KnockoutObservable<object> width { get; }

Property Value

Type Description
KnockoutObservable<Object>

A knockout observable object that specifies the tab panel width.

Remarks

The code sample below demonstrates how to specify the tab panel width in the Init event handler.

<script type="text/javascript" id="script">
    function Init(s, e) {
        s.GetPreviewModel().tabPanel.width(500);
    }
</script>

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