4 references to ValueFromDistance
PresentationFramework (4)
System\Windows\Controls\Primitives\ScrollBar.cs (1)
321
double valueDelta = Track.
ValueFromDistance
(horizontalDragDelta, verticalDragDelta);
System\Windows\Controls\Primitives\Track.cs (2)
65
val = Value +
ValueFromDistance
(pt.X - ThumbCenterOffset, pt.Y - (RenderSize.Height * 0.5));
69
val = Value +
ValueFromDistance
(pt.X - (RenderSize.Width * 0.5), pt.Y - ThumbCenterOffset);
System\Windows\Controls\Slider.cs (1)
862
double newValue = Value + Track.
ValueFromDistance
(e.HorizontalChange, e.VerticalChange);