예제 #1
0
 /// <summary>
 ///     This method is invoked when the mouse enters the rating item.
 /// </summary>
 /// <param name="e">Information about the event.</param>
 protected override void OnMouseEnter(MouseEventArgs e)
 {
     if (Interaction.AllowMouseEnter(e))
     {
         Interaction.UpdateVisualStateBase(true);
     }
     base.OnMouseEnter(e);
 }
예제 #2
0
 /// <summary>
 /// Provides handling for the MouseEnter event.
 /// </summary>
 /// <param name="e">Event arguments.</param>
 protected override void OnMouseEnter(MouseEventArgs e)
 {
     if (Interaction.AllowMouseEnter(e))
     {
         Interaction.OnMouseEnterBase();
         base.OnMouseEnter(e);
     }
 }
예제 #3
0
 /// <summary>
 /// Provides handling for the MouseEnter event.
 /// </summary>
 /// <param name="e">Event arguments.</param>
 protected override void OnPointerEntered(PointerRoutedEventArgs e)
 {
     if (Interaction.AllowMouseEnter(e))
     {
         Interaction.OnMouseEnterBase();
         base.OnPointerEntered(e);
     }
 }