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
395
Validation (IDataErrorInfo)
posted

Hello,

I have a need to show any controls that are in error by surrounding them with a red border, etc. Basically, when a user hits 'Submit' on a WPF window, I want to go and flag all the controls that have invalid data in this manner. I would like to change the associated control's tooltip to indicate the error also.

For the standard MS controls, I am able to do this with IDataErrorInfo. However, I'm not sure how to do this with the Infragisticis WPF controls (XamDateTimeEditor for example).

Is there an article or sample somewhere that someone could kindly point me to? I'm very new to both Infragistics controls and WPF so please bear in mind I need 'newbie-friendly' advice :-)

Thanks for any help!

Parents
No Data
Reply
  • 54937
    Verified Answer
    Offline posted

    There should be no difference when binding one of our properties than when binding to a property on the intrinsic controls so you should be able to use the same means that you were using for the intrinsic controls. If you are encountering a specific issue then please post a sample that demonstrates the difference and we can look into it.

Children
No Data