This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hello !
Is there any way for the proeprty grid to notify when invalid data binding occurs ? For exemplen trying to put a string in an int generates the red border around the property in the component, but is there any way of being notified when the component detects thjis kind of error ? Should be a property like "HasErrors", or "Errors" or something like that.
Thanks you in advance
--bruno |
|
|
This information isn't available to the property grid, because once an editor is set up the property grid gets out of the way and lets it do its thing. However your own templates can access binding errors in the normal way and they could raise bubbling events or set an attached property on the containing grid (using a RelativeSource AncestorType binding). |
|