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