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
715
XamDataGrid Error Template
posted

Hi,

I am using the Metro theme provided at this location. I cannot override the Error template of the XamDataGrid (grid as a whole and not of a row or cell). To make it clear here is the situation I use it for. I have a list of persons that is bound to the grid and I have a validation (using IDataErrorInfo) on the collection property that it is Invalid if it does not have at least a one person.

The error template comes in the form of a red outline around the grid. I tried setting the ErrorTemplate={x:Null} in the style of the grid provided, but it doesn't seem to work. I tried a lot more tweaks but all in vain.

Has anyone tweaked the metro style? Can anyone help?

regards,

Sid

 

Parents Reply Children
No Data