Skip to main content
All docs
V25.2
  • TabPanelModel.ActivateTab(TabContentKind) Method

    Activates and expands the specified panel.

    Namespace: DevExpress.Blazor.Reporting.Models

    Assembly: DevExpress.Blazor.v25.2.Viewer.dll

    NuGet Package: DevExpress.Blazor.Viewer

    Declaration

    public void ActivateTab(
        TabContentKind kind
    )

    Parameters

    Name Type Description
    kind TabContentKind

    A tab content kind.

    Remarks

    The following code opens the Export Options panel when a user clicks a button:

    @using DevExpress.Blazor.Reporting
    @using DevExpress.Blazor.Reporting.Models
    @*...*@
    <DxButton Click="OnClick"></DxButton>
    
    <DxReportViewer @ref="reportViewer" >
    </DxReportViewer>
    
    @code{
        DxReportViewer reportViewer { get; set; }
    
        void OnClick()
        {
            reportViewer.TabPanelModel.ActivateTab(TabContentKind.ExportOptions);
        }
    }
    
    See Also