Table of Contents

Class MenuItemDefinition

Namespace
Gemini.Framework.Menus
Assembly
Gemini.dll

Represents the definition of a menu item.

public abstract class MenuItemDefinition : MenuDefinitionBase
Inheritance
MenuItemDefinition
Derived
Inherited Members

Constructors

MenuItemDefinition(MenuItemGroupDefinition, int)

Initializes a new instance of the MenuItemDefinition class.

protected MenuItemDefinition(MenuItemGroupDefinition group, int sortOrder)

Parameters

group MenuItemGroupDefinition

Group to which this menu item belongs

sortOrder int

Sort order.

Exceptions

ArgumentNullException

Thrown group is null.

Properties

Group

Gets the menu group to which this menu item belongs.

public MenuItemGroupDefinition Group { get; }

Property Value

MenuItemGroupDefinition

SortOrder

Gets the sort order.

public override int SortOrder { get; }

Property Value

int