CommandBar.ShowPopup(Object, Object) Method

Definition

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

void ShowPopup(winrt::Windows::Foundation::IInspectable const & x, winrt::Windows::Foundation::IInspectable const & y);
[System.Runtime.InteropServices.DispId(1610874906)]
public void ShowPopup (object x, object y);
[<System.Runtime.InteropServices.DispId(1610874906)>]
abstract member ShowPopup : obj * obj -> unit
Public Sub ShowPopup (Optional x As Object, Optional y As Object)

Parameters

x
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
Object

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

Attributes

Applies to