Table of Contents
Role Property

Gets a value that indicates the role of a MenuItem.

Syntax
 public MenuItemRole Role { get; }
Remarks

The following table lists all possible values:

Value Remark
TopLevelItem Top level item that does not have any sub items.
TopLevelHeader Top level item that does have sub items.
SubmenuItem Child item that does not have any sub items.
SubmenuHeader Child item that does have sub items.
Separator Separator item.

See Also