Skip to content

询问框

与此主题相关的项目

  • Micro.Layer 是一款备受青睐的 WPF 弹出层组件,具备全方位的解决方案,面向各个水平段的开发人员,您的页面会轻松地拥有丰富友好的操作体验。 第一步:下载 Micro.Layer 依赖组件 第二步:引用 Micro.Layer 依赖组件 第三步:导入Micro.Layer 样式 第四步:调用 Micro.Layer 方法 配置参数范例如下: #提示框 - Dialog.Message(new { Content = "消息内容", Ok = "确定", No = "取消" }); #普通信息框 - Dialog.Alert(new { Title = "文字标题", Content = "文字内容" }); #询问框 - Dialog.Confirm(new { Title = "询问标题", Content = "询问内容" }); #加载层 - Dialog.Load(new { Content = "加载中", Mode = 1 }); #输入层 - Dialog.Prompt(new { Title = "请输入内容", Placeholder = ""}, new Action<string>((p) => { })); #键盘层 - Dialog.Keyboard(new { Title = "数字键盘", Content =

    "^([0-9]{1,})|([0-9]{1,}[.][0-9]*)$"}, new Action<string>((p) => { }));

    #success - Dialog.Success(new { Title = "成功标题", Content = "文字内容" }); #info - Dialog.Info(new { Title = "提示标题", Content = "提示内容" }); #warming - Dialog.Warming(new { Title = "警告标题", Content = "警告内容" }); #error - Dialog.Error(new { Title = "错误标题", Content = "错误内容" }); #文件上传层 - Dialog.Upload(new { Title = "文件上传标题", Url="上传服务器地址" }); #文件下载层 - Dialog.Download(new { Title = "文件下载标题", Url = "图片地址" }); #消息通知 - Dialog.Notice(new { Title = "通知标题", Mode = 2, Content = "通知内容" }); #幻灯片 - Dialog.Images(new { Title = "幻灯片标题", Url = new List&lt;string&gt; { "图片地址1", "图片地址2" } }); #图片层 - Dialog.Image(new { Title = "图片标题", Url = "图片地址1" }); #Gif图片层 - Dialog.Gif(new { Title = "图片标题", Url = "图片地址1" }); #视频层 - Dialog.Media(new { Title = "视频标题", Url = "视频地址" }); #网页层 - Dialog.Web(new { Title = "Web页面标题", Url = "http://baidu.com" }); #页面层 - Dialog.Page(new { Title = "Page页面标题", Url = "pack://application:,,,/;component/Page页.xaml" }); #打印层 - Dialog.Print(new { Title = "打印标题" }, "/xml/printTempl.xaml", GlobalData.OrderExample, new OrderDocumentRenderer());
    更新于
    更新于