MessageDialog.Title Property

Gets or sets the title to display on the dialog, if any.

Syntax

public:
property String^ Title {
         String^ get ();
         void set (String^ value);
}  

Property value

Type: String 

  The title you want to display on the dialog. If the title is not set, this will return an empty string.

Remarks

Use the title as a concise main instruction to convey the objective of the dialog.

Long titles do not wrap and will be truncated.

If you’re using the dialog to deliver a simple message, error or question, omit the title. Rely on the content to deliver that core information.

Requirements

Namespace: Windows.UI.Popups

Metadata: windows.winmd

See also

Reference

MessageDialog Class

MessageDialog Members

Windows.UI.Popups Namespace