摘要: 因为在 IValueConverter 实现中,当文本不能转换为目标类型时返回 DependencyProperty.UnsetValue ,Validation.GetHasError 返回 true ,为何要绕一个圈让用户输入不能转换的文本,然后再获取错误状态呢?不如直接不让用户输入错误文本,于 阅读全文
posted @ 2016-05-09 10:41 无眠0007 阅读(1364) 评论(0) 推荐(2) 编辑