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。

適用於