Is there a way to draw default silverlight invalid control state around custom control?

1 posts, 0 answers
  1. v00d00
    v00d00 avatar
    5 posts
    Member since:
    Jan 2011

    Posted 17 Jun 2011 Link to this post


    I am making pretty simple custom control which only combines several other default controls together with some custom logic.

    Errors from INotifyDataError interfaces are not displaying on my control. As far as I can see the common practice to display validation errors on custom control is to implement several visual states on it and switch them when receiving bound data.

    But to be honest I hate to work with this stuff and whole UI part.

    Is there a way to display default rectangular invalid state around the square content? For example it would be great to inherit from such control or to use it as the content presenter with switchable states.

    Does Telerik provides something that can be used as a base for validatable control?

Back to Top