ContentDialog.title property

Gets or sets the dialog's title.

Syntax

<div 
  data-win-control="WinJS.UI.ContentDialog" 
  data-win-options="{ title : value}">
</div>
var title = contentDialog.title;
contentDialog.title = title;

Property value

Type: String**

The text of the dialog's title.

Requirements

Minimum WinJS version

WinJS 4.0

Namespace

WinJS.UI

See also

ContentDialog