Thanks,
yes looks easy.
Not clear for me is. MyTextBoyStyle?
Is it a class?
Where you check the length == 0 then LightPink?
I think I need code there?
Can you send more details? Thanks in advance.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I need this feature.
Is the textbox empty the backcolor should be 'light red'
Is the textbox string length > 0 empty the backcolor should be 'light green'
Please help me, how I can solve it. Thanks a lot.
Thanks,
yes looks easy.
Not clear for me is. MyTextBoyStyle?
Is it a class?
Where you check the length == 0 then LightPink?
I think I need code there?
Can you send more details? Thanks in advance.
Hi Markus,
you can use style. If validator return error Validatio.HasError will be True:
You can also set the style with DataTrigger for your TextBox and use it like below(similar to your old thread):
The result is like :