System.Windows.Controls.InteractionHelper.OnGotFocusBase C# (CSharp) Method

OnGotFocusBase() public method

Base implementation of the virtual GotFocus event handler.
public OnGotFocusBase ( ) : void
return void
        public void OnGotFocusBase()
        {
            UpdateVisualState(true);
        }
        #endregion GotFocus

Usage Example

 /// <summary>
 /// Provides handling for the GotFocus event.
 /// </summary>
 /// <param name="e">The data for the event.</param>
 protected override void OnGotFocus(RoutedEventArgs e)
 {
     if (_interaction.AllowGotFocus(e))
     {
         _interaction.OnGotFocusBase();
         base.OnGotFocus(e);
     }
 }