Instance Property

visible

A Boolean value that indicates whether the menu item is visible.

Declaration

readonly attribute boolean visible;

Discussion

Changes made to the menu item while it is visible are not reflected until the next time it presented, except for changes made to the command property, which take effect immediately.

See Also

Working with Menu Item State

disabled

A Boolean value that indicates whether a menu item is disabled.

checkedState

The state of the menu item.