Condividi tramite


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

'Dichiarazione
Sub ShowPopup ( _
    x As Object, _
    y As Object _
)
'Utilizzo
Dim instance As CommandBar
Dim x As Object
Dim y As Object

instance.ShowPopup(x, y)
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

CommandBar Members

Microsoft.VisualStudio.CommandBars Namespace