Skip to content
MenuItemInfo

UI / MenuItemInfo

MenuItemInfo Class ​

Menu item node information

Table of contents ​

Properties ​

bEnabled: boolean
Is it in an activated state
bLineSperate: boolean
Is it a dividing line
bVisibility: boolean
Is it visible
levelID: number
Sorting level, the higher the number, the higher the sorting
menuID: string
ID, Used for verification
menuName: string
Display Name
parentMenuID: string
If it is a sub menu item, the parent menu ID needs to be filled in to identify the placement of the menu
toolTip: string
Reminder during hovering
uiCommand: string
Menu shortcut key information display

Parameters ​

idstring

Properties ​

bEnabled ​

• bEnabled: boolean

Is it in an activated state


bLineSperate ​

• bLineSperate: boolean

Is it a dividing line


bVisibility ​

• bVisibility: boolean

Is it visible


levelID ​

• levelID: number

Sorting level, the higher the number, the higher the sorting


• menuID: string

ID, Used for verification


• menuName: string

Display Name


parentMenuID ​

• parentMenuID: string

If it is a sub menu item, the parent menu ID needs to be filled in to identify the placement of the menu


toolTip ​

• toolTip: string

Reminder during hovering


uiCommand ​

• uiCommand: string

Menu shortcut key information display