CommandBar.ShowPopup Method

Displays the command bar as a shortcut menu at the specified coordinates or at the current mouse coordinates.

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

'Declaration
Sub ShowPopup ( _
    x As Object, _
    y As Object _
)
void ShowPopup(
    Object x,
    Object y
)
void ShowPopup(
    [InAttribute] Object^ x, 
    [InAttribute] Object^ y
)
abstract ShowPopup : 
        x:Object * 
        y:Object -> unit
function ShowPopup(
    x : Object, 
    y : Object
)

Parameters

  • x
    Type: System.Object

    An integer representing the x coordinate of the location of the popup; if omitted, the current x coordinate of the mouse is used.

  • y
    Type: System.Object

    An integer representing the y coordinate of the location of the popup; if omitted, the current y coordinate of the mouse is used.

.NET Framework Security

See Also

Reference

CommandBar Interface

Microsoft.VisualStudio.CommandBars Namespace