Example #1
0
 /// <summary>
 /// Item is becoming tracked by the mouse.
 /// </summary>
 public void Track()
 {
     if (_gallery.TrackingIndex != _imageIndex)
     {
         _gallery.SetTrackingIndex(_imageIndex, false);
     }
 }
Example #2
0
 /// <summary>
 /// Move tracking to the first item.
 /// </summary>
 public void TrackMoveHome()
 {
     if (Count > 0)
     {
         _gallery.SetTrackingIndex(0, true);
     }
 }