Jaa


Windows.UI.Popups Namespace

Provides support for context menu and message dialogs.

Classes

MessageDialog

Represents a dialog for showing messages to the user.

In a desktop app, before using an instance of this class in a way that displays UI, you'll need to associate the object with its owner's window handle. For more info, and code examples, see Display WinRT UI objects that depend on CoreWindow.

Important

You should use MessageDialog only when you are upgrading a Universal Windows 8.x app that uses MessageDialog, and need to minimize changes or if your app isn't XAML. For new XAML apps in Windows 10+, we recommend using the ContentDialog control instead.

PopupMenu

Represents a context menu.

In a desktop app, before using an instance of this class in a way that displays UI, you'll need to associate the object with its owner's window handle. For more info, and code examples, see Display WinRT UI objects that depend on CoreWindow.

UICommand

Represents a command in a context menu.

UICommandSeparator

Represents a command separator in a context menu.

Interfaces

IUICommand

Represents a command in a context menu or message dialog box.

Enums

MessageDialogOptions

Specifies less frequently used options for a MessageDialog.

Placement

Specifies where the context menu should be positioned relative to the selection rectangle.

Delegates

UICommandInvokedHandler

Represents a callback function that handles the event that is fired when the user invokes a context menu command.

See also