Class MenuItemDefinition
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
MenuItemGroupDefinitionGroup to which this menu item belongs
sortOrder
intSort 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
SortOrder
Gets the sort order.
public override int SortOrder { get; }