ContentDialog.primaryCommandText property
Gets or sets the text of the dialog's primary command.
Syntax
<div
data-win-control="WinJS.UI.ContentDialog"
data-win-options="{ primaryCommandText : value}">
</div>
var primaryCommandText = contentDialog.primaryCommandText;
contentDialog.primaryCommandText = primaryCommandText;
Property value
Type: String**
The text of the primary command.
Requirements
Minimum WinJS version |
WinJS 4.0 |
Namespace |
WinJS.UI |