Skip to main content

WebDocumentViewerBuilder.TabPanelSettings(Action<TabPanelSettings>) Method

Provides access to the Web Document Viewer‘s tab panel settings.

Namespace: DevExpress.AspNetCore.Reporting.WebDocumentViewer

Assembly: DevExpress.AspNetCore.Reporting.v24.1.dll

NuGet Package: DevExpress.AspNetCore.Reporting

Declaration

public WebDocumentViewerBuilder TabPanelSettings(
    Action<TabPanelSettings> configure
)

Parameters

Name Type Description
configure Action<TabPanelSettings>

A delegate method that allows you to specify tab panel settings that are exposed by the TabPanelSettings object, which is passed as the delegate parameter.

Returns

Type Description
WebDocumentViewerBuilder

A WebDocumentViewerBuilder that can be used to further configure the Document Viewer.

Remarks

The TabPanelSettings member allows you to define the tab panel’s position and default width in the Web Document Viewer.

@Html.DevExpress().WebDocumentViewer("DocumentViewer").TabPanelSettings((settings) => {
        settings.Position = "Left";
        settings.Width = 400;
    }).Height("1000px").Bind("DXWebApplication1.Reports.XtraReport.repx")
See Also