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
130
Textbox Validation Border remaining when unpinning.
posted

Hello,

I have TabGroupPane with 3 content panes on one pane I have a set of textboxes.  The textboxes show a red border when validation on that box fails. The problem is that when I have validation errors and then unpin the pane it slides back in but the red validation border remains where the text boxes once were. When I open the panes again and pin them the border once again realigns with the textboxes.  If I undock the pain and move is let’s say to the opposite edge of the app and have the red validation borders show then unpin it the red border will jump back to the other edge where the pane was originally came from, now I open the pane again and the border jumps back to the pane and realigns with the boxes.  If any one has any ideas that would be awesome I have tried this with both my textboxes which are custom made and also the default WPF ones with no customization and same thing happens on both.Thanks for any help anyone can provide me.

 

Parents
  • 54937
    Offline posted

    The validation error is probably in the adorner layer and the element providing the adorner is outside the contentpane. You should report this issue to the support group. For now, you can probably retemplate the ContentPane and put an AdornerDecorator in there. We ship the default styles so you can take the default template and put the AdornerDecorator as the root element within the template (or within the border).

Reply Children
No Data