private void RefreshStyles(object sender, RoutedEventArgs e)
 {
     TextBoxStyle.GetBindingExpression(TextBox.TextProperty).UpdateTarget();
 }
 private void UpdateStyles(object sender, RoutedEventArgs e)
 {
     TextBoxStyle.GetBindingExpression(TextBox.TextProperty).UpdateSource();
 }