共用方式為


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。

適用於