Table of Contents

Method AddTab

Namespace
Innova.Prism.Library.Services
Assembly
Innova.Prism.Library.dll

AddTab(IMenuService, string, string, int, bool)

Adds a new menu tab to the menu service.

public static IMenuTabModel AddTab(this IMenuService menuService, string tabName, string caption, int sortOrder, bool isSelected = false)

Parameters

menuService IMenuService

The menu service.

tabName string

The name of the tab.

caption string

The caption of the tab.

sortOrder int

The sort order of the tab.

isSelected bool

Indicates whether the tab is selected.

Returns

IMenuTabModel

The newly added menu tab.