Click or drag to resize

IWinToolBarCheckItem Method (Int32, Boolean, Boolean)

Checks or unchecks the specified toolbar item.

Namespace:  SmartBear.TestLeft.TestObjects.Win
Assembly:  SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax
void CheckItem(
	int itemIndex,
	bool check,
	bool byposition
)

Parameters

itemIndex
Type: SystemInt32
The zero-based index of the item.
check
Type: SystemBoolean
Specifies whether the specified item should be checked (true) or unchecked (false).
byposition
Type: SystemBoolean
Indicates whether the item parameter specifies the item's identifier or position.
Exceptions
ExceptionCondition
InvocationExceptionWill be thrown if invocation fails.
WebExceptionWill be thrown if there are network problems.
See Also