MenuItemRole 枚举

定义

定义 MenuItem 可具有的不同角色。Defines the different roles that a MenuItem can have.

public enum class MenuItemRole
public enum MenuItemRole
type MenuItemRole = 
Public Enum MenuItemRole
继承
MenuItemRole

字段

SubmenuHeader 3

子菜单标头。Header for a submenu.

SubmenuItem 2

可调用命令的子菜单中的菜单项。Menu item in a submenu that can invoke commands.

TopLevelHeader 1

顶级菜单标头。Header for top-level menus.

TopLevelItem 0

可调用命令的顶级菜单项。Top-level menu item that can invoke commands.

适用于