Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1470
IDataErrorInfo Support Styling
posted

Hi there

I'have a little question about the styling of the IDataErrorInfo support. In some fields, we need to display a button, where the user can click and search for some stuff in an seperate modal window. Without setting this custom style on the field for the CellValuePresenter, the XamDataGrid displays the IDataErrorInfo in a nice way. But as soon, i set this style to the CellValuePresenter, the IDataErrorInfo support does not work for that field.

Can you lead me in the right direction? Didn't found a solution in the Samples...

Please see the attached sample.

To see the different behavior, just comment (or uncomment) lines 92 - 94 in MainWindow.xaml.

Thanks in advance. :)

XamDataGrid_IDataErrorInfo_Test01.zip