SystemCommands.ShowSystemMenu Method
Displays the system menu for the specified window.
Namespace: Microsoft.Windows.Shell
Assembly: Microsoft.Windows.Shell (in Microsoft.Windows.Shell.dll)
Syntax
'Declaration
Public Shared Sub ShowSystemMenu ( _
window As Window, _
screenLocation As Point _
)
public static void ShowSystemMenu(
Window window,
Point screenLocation
)
public:
static void ShowSystemMenu(
Window^ window,
Point screenLocation
)
static member ShowSystemMenu :
window:Window *
screenLocation:Point -> unit
public static function ShowSystemMenu(
window : Window,
screenLocation : Point
)
Parameters
- window
Type: System.Windows.Window
The window to have its system menu displayed.
- screenLocation
Type: System.Windows.Point
The location of the system menu.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.