15 references to Track
PresentationFramework (15)
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (15)
155
if ((
Track
!= null) &&
156
(
Track
.IsMouseOver) &&
160
Point pt = e.MouseDevice.GetPosition((IInputElement)
Track
);
161
double newValue =
Track
.ValueFromPoint(pt);
167
if (
Track
.Thumb != null &&
Track
.Thumb.IsMouseOver)
169
Point thumbPoint = e.MouseDevice.GetPosition((IInputElement)
Track
.Thumb);
170
_thumbOffset = thumbPoint - new Point(
Track
.Thumb.ActualWidth * 0.5,
Track
.Thumb.ActualHeight * 0.5);
190
if (
Track
!= null)
193
_latestRightButtonClickPoint = e.MouseDevice.GetPosition((IInputElement)
Track
);
340
if (
Track
!= null)
342
double valueDelta =
Track
.ValueFromDistance(horizontalDragDelta, verticalDragDelta);
472
if ((
Track
!= null) && (_latestRightButtonClickPoint != pt))
474
double newValue =
Track
.ValueFromPoint(_latestRightButtonClickPoint);