C
C#8mo ago
Mekasu0124

✅ Resetting screen after *n* seconds Avalonia

I have a check function for when a user tries to log in that turns the text boxes styles if the input is incorrect. What would be the most efficient way of resetting the screen, or recalling the screen, after n seconds to allow the user to try again and resetting the styles of the input boxes back to normal?
2 Replies
Buddy
Buddy8mo ago
You can use bindings and have some kind of state with DataTemplate
Mekasu0124
Mekasu01248mo ago
are there any examples of that because I can't find anything on google on second thought, I don't need a login screen for this application. I appreciate it