AllowGrayed Property

Applies to TestComplete 15.42, last modified on August 01, 2022

Specifies whether the check box can have the immediate (grayed) state.

Declaration

componentPropObj.AllowGrayed
Read-Write Property Boolean
componentPropObj     One of the objects listed in the Applies To section  

Applies To

This property applies to the following objects:

TcxCheckBoxProperties

Description

The AllowGrayed property specifies whether the check box can be in an immediate (grayed) state. If this property is True, it is possible to make the check box grayed via the user interaction or from the script code. If this property is False, the user cannot change the check box state to intermediate, but it is possible to turn the checkbox to this state from scripts.

To determine or change the check box state, use the State property of the check box. You can also use the Checked property to determine the check state or to check or uncheck the check box.

Property Value

True, if the check box can be grayed; False otherwise.

See Also

Checked Property
State Property

Highlight search results