The UIAMenuItem type exposes the following members.

Methods

  NameDescription
AddToSelection
Add item to selected radio buttons. Relevant only when multiple selected items allowed.
Check
Check this UIAMenuItem.If item is checked dont do anything. Some Menu items implement Check Uncheck actions, If your menu item doesnt implement this InvalidOperationException is thrown.
CheckExistence (Inherited from UIControlBase.)
ClickOverloaded.
Collapse
Close the menu.
DoubleClickOverloaded.
DragOverloaded.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Expand
Show the menu items
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FindOverloaded.
FindAllOverloaded.
GetAnscestors (Inherited from UIControlBase.)
GetDescendants (Inherited from UIControlBase.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetImage
Get the bitmap of the control.
(Inherited from UIControlBase.)
GetPartialImage
Gets partial bitmap of the control
(Inherited from UIControlBase.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
GetWinFormsProperties
Applicable only on WinFormsControl (you can query it by the IsWinForms property), gets the serializable properties of the control with types that are commonly references
(Inherited from UIAControl.)
Invoke
Use windows invokaing to select the menu item
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
MoveMouseTo
Simulate a mouse move, this is good way to test hover functionality.
(Inherited from UIControlBase.)
OnBeforeAnyAction (Inherited from UIControlBase.)
Refresh (Inherited from UIAControl.)
RemoveFromSelection
Remove from selected radio buttons. Relevant only when multiple selected items allowed.
Select
Some menuItems allow Select action. If menu doesnt support this action InvalidOperationExeption is thrown.
SetFocus (Inherited from UIAControl.)
Toggle
Chenge the Check State (Check or UnCheck) Some Menu items implement Check Uncheck actions. If your menu item doesnt implement this InvalidOperationException is thrown.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
UnCheck
Uncheck this MenuItem Control. If item is unchecked dont do anything. Some Menu items implement Check Uncheck actions. If your menu item doesnt implement this InvalidOperationException is thrown.
WaitForControlByID
Waits for a specific child by ID
(Inherited from UIControlBase.)
WaitForControlByName
Waits for a specific child by name
(Inherited from UIControlBase.)
WaitForProperty
Waits for a specific property
(Inherited from UIControlBase.)
Write
Simulate key strokes using the keyboard.
(Inherited from UIControlBase.)

See Also