/// <summary> /// Provides handling for the GotFocus event. /// </summary> /// <param name="e">Event arguments.</param> protected override void OnGotFocus(RoutedEventArgs e) { if (Interaction.AllowGotFocus(e)) { Interaction.OnGotFocusBase(); base.OnGotFocus(e); } }
protected override void OnGotFocus(RoutedEventArgs e) { if (Interaction.AllowGotFocus(e)) { Interaction.OnGotFocusBase(); } // we're not calling base on purpose // SL2 does not fire the GotFocus event on Thumbs }