IMenuItem Interface |
Namespace: SmartBear.TestLeft.TestObjects
The IMenuItem type exposes the following members.
Name | Description | |
---|---|---|
![]() | Caption |
Returns the caption of the menu item.
|
![]() | Checked |
Returns true if the menu item is checked. Else – false.
|
![]() | Enabled |
Returns true if the menu item is enabled. Else – false.
|
![]() | Id |
Returns the identifier of the menu item.
|
![]() | IsBitmap |
Returns true if the MFT_BITMAP constant is in the menu item type. Else - false.
|
![]() | IsOwnerdraw |
Returns true if the MFT_OWNERDRAW constant is in the menu item type. Else - false.
|
![]() | IsRadioCheck |
Returns true if the MFT_RADIOCHECK constant is in the menu item type. Else - false.
|
![]() | IsSeparator |
Returns true if the menu item is a separator. Else – false.
|
![]() | Position |
Returns the item's position (index) in the menu.
|
![]() | SubMenu |
Returns this submenu as a Menu object.
|
Name | Description | |
---|---|---|
![]() | CallMethod<T>(String,Object[]) |
Invokes the specified method and returns the result.
(Inherited from IObject.) |
![]() | Cast<T> |
Casts the interface to an interface of another type.
(Inherited from IObject.) |
![]() | GetProperty<T> |
Returns the value of the specified property.
(Inherited from IObject.) |
![]() | SetProperty |
Sets a value for the specified property.
(Inherited from IObject.) |