This topic has not yet been rated - Rate this topic

MessageDialog.Title | title property

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

Syntax


var title = messageDialog.title;
messageDialog.title = title;

Property value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

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

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.UI.Popups
Windows::UI::Popups [C++]

Metadata

Windows.winmd

See also

MessageDialog
MessageDialog.Content
Quickstart: Designing a message dialog

 

 

Build date: 2/25/2013

© 2013 Microsoft. All rights reserved.