private void CommandEntryTextBox_GotFocus(object sender, System.Windows.RoutedEventArgs e) { m_existingTextBoxBackground = m_commandEntryTextBox.Background; m_commandEntryTextBox.Background = m_textBoxFocusedBackground; }