Show / Hide Table of Contents

Method CreateMessageDialog

| Edit this page View Source

CreateMessageDialog(Window, string, string)

Initializes a new instance of the MessageDialog class with the provided window as a parent to display a titled message dialog that can be used to ask your user simple questions.

Declaration
public static MessageDialog CreateMessageDialog(this Window window, string content, string title = "")
Parameters
Type Name Description
Window window

Parent window

string content

The message displayed to the user.

string title

The title you want displayed on the dialog.

Returns
Type Description
MessageDialog

Message dialog

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX