MapSuiteGisEditor/GisEditorInfrastructure/Plugins/Styles/StyleBuilder/StyleBuilderWindow.xaml.cs
/// <summary>
/// Handles the IsVisibleChanged event of the RenameTextBox control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="DependencyPropertyChangedEventArgs" /> instance containing the event data.</param>
Handles the IsVisibleChanged event of the RenameTextBox control.
Handles the IsVisibleChanged event of the RenameTextBox control .
[Obfuscation]
        private void RenameTextBox_IsVisibleChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            var textBox = sender as TextBox;
            if (textBox != null && textBox.IsVisible)
            {
                textBox.Focus();
                textBox.SelectAll();
            }
        }
[ Obfuscation ] private void RenameTextBox_IsVisibleChanged ( object sender , DependencyPropertyChangedEventArgs e ) { var textBox = sender as TextBox ; if ( textBox != null && textBox . IsVisible ) { textBox . Focus ( ) ; textBox . SelectAll ( ) ; } }
Handles the IsVisibleChanged event of the RenameTextBox control.
Handles the IsVisibleChanged event of the RenameTextBox control .
sender
object
The source of the event.
The source of the event .
e
DependencyPropertyChangedEventArgs
The  instance containing the event data.
The instance containing the event data .