Click or drag to resize

IToolBarCheckItem Method (Int32, 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(
	int itemIndex,
	CheckState check
)

Parameters

itemIndex
Type: SystemInt32
The zero-based index of the item.
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