Table of Contents

Method CreateMenu

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

CreateMenu<MenuTaskDefinitionType>(IMenuService, string)

Creates a new menu of the specified type and adds it to the menu service.

public static MenuTaskDefinitionType CreateMenu<MenuTaskDefinitionType>(this IMenuService menuService, string groupname) where MenuTaskDefinitionType : IMenuModel

Parameters

menuService IMenuService

The menu service.

groupname string

The name of the group where the menu will be added.

Returns

MenuTaskDefinitionType

The newly created menu.

Type Parameters

MenuTaskDefinitionType

The type of the menu.