private void CodeTabItem_GotFocus(object sender, RoutedEventArgs e) { ModelView.WriteCodeTextBox(); }