15 references to Track
PresentationFramework (15)
System\Windows\Controls\Primitives\ScrollBar.cs (15)
137
if ((
Track
!= null) &&
138
(
Track
.IsMouseOver) &&
142
Point pt = e.MouseDevice.GetPosition((IInputElement)
Track
);
143
double newValue =
Track
.ValueFromPoint(pt);
149
if (
Track
.Thumb != null &&
Track
.Thumb.IsMouseOver)
151
Point thumbPoint = e.MouseDevice.GetPosition((IInputElement)
Track
.Thumb);
152
_thumbOffset = thumbPoint - new Point(
Track
.Thumb.ActualWidth * 0.5,
Track
.Thumb.ActualHeight * 0.5);
169
if (
Track
!= null)
172
_latestRightButtonClickPoint = e.MouseDevice.GetPosition((IInputElement)
Track
);
319
if (
Track
!= null)
321
double valueDelta =
Track
.ValueFromDistance(horizontalDragDelta, verticalDragDelta);
451
if ((
Track
!= null) && (_latestRightButtonClickPoint != pt))
453
double newValue =
Track
.ValueFromPoint(_latestRightButtonClickPoint);