Click or drag to resize

IToolBar.CheckItem 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: System.String
The item's name.
check
Type: SmartBear.TestLeft.TestObjects.CheckState
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