Click or drag to resize

IMenuItem Interface

The test interface menu items.

Namespace:  SmartBear.TestLeft.TestObjects
Assembly:  SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.60.289.11 (14.60.289.11)
Syntax
public interface IMenuItem : IObject

The IMenuItem type exposes the following members.

Properties
  NameDescription
Public propertyCaption
Returns the caption of the menu item.
Public propertyChecked
Returns true if the menu item is checked. Else – false.
Public propertyEnabled
Returns true if the menu item is enabled. Else – false.
Public propertyId
Returns the identifier of the menu item.
Public propertyIsBitmap
Returns true if the MFT_BITMAP constant is in the menu item type. Else - false.
Public propertyIsOwnerdraw
Returns true if the MFT_OWNERDRAW constant is in the menu item type. Else - false.
Public propertyIsRadioCheck
Returns true if the MFT_RADIOCHECK constant is in the menu item type. Else - false.
Public propertyIsSeparator
Returns true if the menu item is a separator. Else – false.
Public propertyPosition
Returns the item's position (index) in the menu.
Public propertySubMenu
Returns this submenu as a Menu object.
Top
Methods
See Also