Command.Visible

Syntax

Command.Visible

Data Type

Boolean

Purpose

Specifies whether to show or hide the menu item or user interface element that invokes the command.

Remarks

The command computes the value of this property according to the kind of command and the current state of the items to which the command applies. However, when you set this property, the command returns only the property values you set for the remainder of the life of the Command object.

See Also

Enabled