15 references to Track
PresentationFramework (15)
System\Windows\Controls\Primitives\ScrollBar.cs (15)
153
if ((
Track
!= null) &&
154
(
Track
.IsMouseOver) &&
158
Point pt = e.MouseDevice.GetPosition((IInputElement)
Track
);
159
double newValue =
Track
.ValueFromPoint(pt);
165
if (
Track
.Thumb != null &&
Track
.Thumb.IsMouseOver)
167
Point thumbPoint = e.MouseDevice.GetPosition((IInputElement)
Track
.Thumb);
168
_thumbOffset = thumbPoint - new Point(
Track
.Thumb.ActualWidth * 0.5,
Track
.Thumb.ActualHeight * 0.5);
185
if (
Track
!= null)
188
_latestRightButtonClickPoint = e.MouseDevice.GetPosition((IInputElement)
Track
);
335
if (
Track
!= null)
337
double valueDelta =
Track
.ValueFromDistance(horizontalDragDelta, verticalDragDelta);
467
if ((
Track
!= null) && (_latestRightButtonClickPoint != pt))
469
double newValue =
Track
.ValueFromPoint(_latestRightButtonClickPoint);