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 = "取消")
参数
titlestring提示框标题
bodystring内容
confirmationstring确认文字,留空禁用
rootTopLevel视觉根
positiveTextstring确认按钮文字
negativeTextstring取消按钮文字