Skip to main content
All docs
V24.1

TabPanelModel.ToggleCollapsed(Int32) Method

Toggles the state of the specified tab panel.

Namespace: DevExpress.Blazor.Reporting.Models

Assembly: DevExpress.Blazor.Reporting.v24.1.Viewer.dll

NuGet Package: DevExpress.Blazor.Reporting.Viewer

Declaration

public void ToggleCollapsed(
    int tabIndex
)

Parameters

Name Type Description
tabIndex Int32

An index in the TabPanelModel.Tabs collection.

Remarks

If a panel with the specified index is active, the ToggleCollapsed method collapses the panel, and the Report Viewer has no active tab panels. If no panel is active in the Report Viewer, the ToggleCollapsed method activates and expands the panel with the specified index.

See Also