This document is archived and information here might be outdated. Recommended version. |
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 );
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