摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows;na... 阅读全文
posted @ 2018-07-06 09:05 dxm809 阅读(92) 评论(0) 推荐(0) 编辑
摘要: WPF允许对象在创建时候并不包含存储数据的空间,只保留在用到时获取数据默认值,借用其他对象数据或者实时分配空间的能力 阅读全文
posted @ 2018-07-06 08:49 dxm809 阅读(139) 评论(0) 推荐(0) 编辑
摘要: //必须指定Mode为OneWay否则无法编译通过//绑定到索引 阅读全文
posted @ 2018-07-06 08:38 dxm809 阅读(192) 评论(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:38 dxm809 阅读(241) 评论(0) 推荐(0) 编辑
摘要: Hello 阅读全文
posted @ 2018-07-06 08:37 dxm809 阅读(246) 评论(0) 推荐(0) 编辑
摘要: ... 阅读全文
posted @ 2018-07-06 08:37 dxm809 阅读(403) 评论(0) 推荐(0) 编辑
摘要: -->//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) 编辑