This document is archived and information here might be outdated.  Recommended version.


ICommandBar.Popup Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > IC > ICommandBar Interface > ICommandBar.Popup Method
ArcGIS Developer Help

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
);

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

.NET Samples

Layer filtering TOC view