Command.IsToggle

Syntax

Command.IsToggle

Data Type

Boolean

Purpose

Specifies whether the menu item or user interface element that represents the command can toggle between the on and off states. When this property is True , a menu item that represents the command displays a checkmark the user can enable or disable.

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

Command.ToggleState