예제 #1
0
 /// <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);
     }
 }
예제 #2
0
 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
 }