Then ViewModel : private string errorName ![]() I set my TextBox, with a BorderBrush, and ToolTip, regarding my conditions I will Hide/Display ToolTip and color border :Ĭode Behind (LostFocus = Leave for whom used to WindowsForm) : private void tbName_LostFocus(object sender, RoutedEventArgs e) I think using MVVM is very well adapted to manage any situation :
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |