Documentation
On this page

Interface · Desktop Services

TrayMenuItem

Native tray menu entry.

@sharpts/gui · SharpTS 572a2e31be0e

Members

id

id?: string

Identifier reported when this menu item is activated.

Type: string

isChecked

isChecked?: boolean

Whether the item displays a checked state.

Type: boolean

isEnabled

isEnabled?: boolean

Whether the item accepts interaction.

Type: boolean

label

label?: string

Text displayed for the item.

Type: string

separator

separator?: boolean

Whether this entry is a visual separator.

Type: boolean

Source

src/SharpTS.Gui.Sdk/GuiPackage/runtime.ts:1088 at SharpTS revision 572a2e31be0e2a09be0138bc44501b34d6245b51.