This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > IC > ICommandBar Interface > ICommandBar.Popup Method (ArcObjects .NET 10.5 SDK) |
Displays this commandbar as a popup menu at the specified location.
[Visual Basic .NET] Public Function Popup ( _ [ByVal X As Integer], _ [ByVal Y As Integer] _ ) As ICommandItem
[C#] public ICommandItem Popup ( int X, int Y );
Optional Values
X is the X coordinate, in device units, of the point on the application where the commandbar should be displayed. Applies to menus and shortcut menus only. [Optional]
Y is the Y coordinate, in device units, of the point on the application where the commandbar should be displayed. Applies to menus and shortcut menus only. [Optional]
ICommandBar Interface | ICommandItem Interface