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