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
)
Sub CheckItem (
itemIndex As Integer,
check As CheckState
)
Dim instance As IToolBar
Dim itemIndex As Integer
Dim check As CheckState
instance.CheckItem(itemIndex, check)
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 See Also