ContentDialog.secondaryCommandDisabled property

Gets or sets whether the dialog's secondary command button is disabled.

Syntax

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

Property value

Type: ****

true if the secondary command button is disabled; otherwise, false. The default value is false.

Requirements

Minimum WinJS version

WinJS 4.0

Namespace

WinJS.UI

See also

ContentDialog