Description
UltraPopupMenu
provides a scripting interface to the context menu created with the Infragistics NetAdvantage toolset.
Supported component versions: Infragistics NetAdvantage 2008 Vol. 2 - 2015 Vol. 1, 2016 Vol. 1, 2017 Vol.1, 2018 Vol. 1, 2019 Vol. 1, 2020 Vol. 1.
Declaration
TestObj.UltraPopupMenu
Read-Only Property | A Menu object |
TestObj | A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section |
Applies To
Objects that correspond to .NET controls.
View Mode
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
Property Value
A Menu
object that corresponds to one of the UltraWinToolbars Package components that serves as the window’s context menu.
Remarks
Using the returned object, you can select items from the context menu, but it must be opened on screen first. You can open the menu by sending an Application keypress to the window, or by calling ClickR
on it. See the Menu
object description for more information on available menu actions.
To access main menus created with the Infragistics NetAdvantage toolset, use the Window.UltraMainMenu
property.
The UltraPopupMenu
property is only available if the Infragistics Control Support plugin is installed. Otherwise, this property is absent in the window’s property list.
See Also
Simulating Menu Actions
Testing .NET Applications
StripPopupMenu Property
XtraPopupMenu Property
MainMenu Property
PopupMenu Property
SystemMenu Property