MessageBoxHelper.ShowConfirmAsync method
小于 1 分钟
MessageBoxHelper.ShowConfirmAsync method
显示确认对话框
public static Task<bool> ShowConfirmAsync(string message, string title,
string primaryButtonText = "Confirm", string secondaryButtonText = "Cancel")| parameter | description |
|---|---|
| message | 标题 |
| title | 消息内容 |
| primaryButtonText | 主按钮文本 (默认值 "Confirm" 未国际化,如需国际化文本请手动传入) |
| secondaryButtonText | 次按钮文本 (默认值 "Cancel" 未国际化,如需国际化文本请手动传入) |
Return Value
用户是否确认
See Also
- class MessageBoxHelper
- namespace neo_bpsys_wpf.Core.Helpers
