Table of Contents

ContentDialogHelper 类

命名空间
ClassIsland.Core.Helpers.UI
程序集
ClassIsland.Core.dll

ContentDialog 辅助类

public static class ContentDialogHelper
继承
ContentDialogHelper
继承成员

方法

ShowConfirmationDialog(string, string, string?, TopLevel?, string, string)

显示确认提示框

public static Task<bool> ShowConfirmationDialog(string title, string body, string? confirmation = null, TopLevel? root = null, string positiveText = "确认", string negativeText = "取消")

参数

title string

提示框标题

body string

内容

confirmation string

确认文字,留空禁用

root TopLevel

视觉根

positiveText string

确认按钮文字

negativeText string

取消按钮文字

返回

Task<bool>

是否通过验证