Click or drag to resize

IToolBarCheckItem Method (String, CheckState)

Sets the current state of the toolbar button (by clicking), that is, Unchecked, Checked or Grayed.

Namespace:  SmartBear.TestLeft.TestObjects
Assembly:  SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax
void CheckItem(
	string itemName,
	CheckState check
)

Parameters

itemName
Type: SystemString
The item's name.
check
Type: SmartBear.TestLeft.TestObjectsCheckState
The new state of the item, which must be Unchecked, Checked or Grayed.
Exceptions
ExceptionCondition
InvocationExceptionWill be thrown if invocation fails.
WebExceptionWill be thrown if there are network problems.
See Also