ArcObjects Library Reference (Framework)  

ICommandBar.Popup Method

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
);
[C#]

Optional Values

X   Supply 0 as a default value.
Y   Supply 0 as a default value.

Product Availability

Available with ArcGIS Desktop.

Description

 

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]

 

See Also

ICommandBar Interface | ICommandItem Interface