共用方式為


ContentDialog.IsSecondaryButtonEnabled 屬性

定義

取得或設定對話框的次要按鈕是否已啟用。

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

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

屬性值

Boolean

bool

true 如果對話框的次要按鈕已啟用,則為 ;否則為 false。 預設值為 true

適用於