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

适用于