Table of Contents

Method AddMenu

Namespace
Innova.Prism.Library.Menus.Models
Assembly
Innova.Prism.Library.dll

AddMenu<MenuTaskDefinitionType>(bool)

Adds a menu to the context menus.

public MenuTaskDefinitionType AddMenu<MenuTaskDefinitionType>(bool addToContextMenu) where MenuTaskDefinitionType : IMenuModel

Parameters

addToContextMenu bool

A value indicating whether to add the menu to the context menu.

Returns

MenuTaskDefinitionType

The added menu.

Type Parameters

MenuTaskDefinitionType

The type of the menu task definition.