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.1.Web.Scripts.dll

Declaration

public KnockoutObservable<object> width { get; }
Public ReadOnly Property width As KnockoutObservable(Of Object)

Property Value

Type Description
KnockoutObservable<Object>

A knockout observable object that specifies the tab panel width.

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>