阅读背景:

检查是否有任何WPF DataGrid单元格有错误

来源:互联网 

I have validation set up on the cells and it works as expected (placing a red highlight around the textbox and adding a tooltip with the error). However, If I try to access Validation.GetHasError(TheGrid) where TheGrid is my DataGrid, it is always false. Does anyone know how to check if ANY cells in the DataGrid have errors?I have validation set up on the cells and it wo




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

分享到: