ContentDialog.IsPrimaryButtonEnabled Свойство

Определение

Возвращает или задает значение, указывающее, включена ли основная кнопка диалогового окна.

public:
 property bool IsPrimaryButtonEnabled { bool get(); void set(bool value); };
bool IsPrimaryButtonEnabled();

void IsPrimaryButtonEnabled(bool value);
public bool IsPrimaryButtonEnabled { get; set; }
var boolean = contentDialog.isPrimaryButtonEnabled;
contentDialog.isPrimaryButtonEnabled = boolean;
Public Property IsPrimaryButtonEnabled As Boolean
<ContentDialog IsPrimaryButtonEnabled="bool"/>

Значение свойства

Boolean

bool

Значение true, если основная кнопка диалогового окна включена; В противном случае — false.

Применяется к