WPF TextBox with ellipsis trimming and validation adorner
问题 I am currently working on an user control to add some more functionality to a TextBox: Ellipsis trimming if the text is to large and the TextBox has lost the focus Label in front of the TextBox Validation on error I found an example for ellipsis. This example stores the current value of the TextBox in a dependency property and sets the TextBox.Text property if the element got/lost the focus. Here my xaml-code of my user control: <UserControl x:Class="WpfTextBoxEllipsis.EditUC" xmlns="http:/