Back to Devexpress

WebDocumentViewerBuilder.TabPanelSettings(Action<TabPanelSettings>) Method

xtrareports-devexpress-dot-aspnetcore-dot-reporting-dot-webdocumentviewer-dot-webdocumentviewerbuilder-dot-tabpanelsettings-x28-action-tabpanelsettings-x29.md

latest2.9 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.AspNetCore.Reporting

Declaration

csharp
public WebDocumentViewerBuilder TabPanelSettings(
    Action<TabPanelSettings> configure
)
vb
Public Function TabPanelSettings(
    configure As Action(Of TabPanelSettings)
) As WebDocumentViewerBuilder

Parameters

NameTypeDescription
configureAction<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

TypeDescription
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.

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

See Also

WebDocumentViewerBuilder Class

WebDocumentViewerBuilder Members

DevExpress.AspNetCore.Reporting.WebDocumentViewer Namespace