>

@code {
    private BSTabGroup TabGroup;
    private BSTab TabContact;
    private BSTab TabHome;

    // 2. BSTabGroup reference by tab Id
    private void ActivateProfileTab()
    {
        TabGroup.SelectTabById("profileTab");
    }
    private void ActivateAdminTab()
    {
        TabGroup.SelectTabById("adminTab");
    }

    // 3. By BSTab reference
    private void ActivateContactTab()
    {
        TabContact.Select();
    }
    private void ActivateHomeTab()
    {
        TabHome.Select();
    }