阅读背景:

在资源样式C#中的wpf中进行控制验证

来源:互联网 

I'm using navigation window in wpf which has a style applied on it. Inside that style there are textboxes. I use MVVM pattern and my model implements IDataErrorInfo and returns error for these textboxes. Everything releated to data binding works just fine, but validation highlighting fails. There is no problem with styles, I have set special style for validation error for these textboxes. When I use the same not inside resource, then valdiation works correct.I'm using navigation window in wpf which has a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: