上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 36 下一页
摘要: -->//xaml实现 ... 阅读全文
posted @ 2018-07-06 08:37 dxm809 阅读(454) 评论(0) 推荐(0) 编辑
摘要: 默认是当目标发生改变时候,通过绑定改变源时候进行校验,因为WPF认为源是安全的,如果想让源改变时候,也进行校验则设置验证规则的ValidatesOnTargetUpdated =trueusing System;using System.Collections.Gen... 阅读全文
posted @ 2018-07-06 08:36 dxm809 阅读(262) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows;us... 阅读全文
posted @ 2018-07-06 08:35 dxm809 阅读(160) 评论(0) 推荐(0) 编辑
摘要: SubWindow win = new SubWindow(); //win.Width = SystemParameters.WorkArea.Width; //win.Top = SystemParameter... 阅读全文
posted @ 2018-07-06 08:35 dxm809 阅读(193) 评论(0) 推荐(0) 编辑
摘要: // PropertyChanged:更改后直接更新源 -->// LostFocus:失去焦点后更新源 -->// Explicit:不更新源 ... 阅读全文
posted @ 2018-07-05 14:16 dxm809 阅读(228) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows;us... 阅读全文
posted @ 2018-07-05 14:02 dxm809 阅读(180) 评论(0) 推荐(0) 编辑
摘要: ... 阅读全文
posted @ 2018-07-05 13:31 dxm809 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 基本上所有的控件都可以设置BorderBrush BorderThickness 例如TextBox,Button 阅读全文
posted @ 2018-07-05 11:06 dxm809 阅读(700) 评论(0) 推荐(0) 编辑
摘要: 像素 px 默认单位可以省略厘米cm英寸 in点 pt1in = 96px1cm=96/2.42px1pt=96/72px 阅读全文
posted @ 2018-07-05 10:58 dxm809 阅读(537) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-07-05 10:55 dxm809 阅读(213) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 36 下一页