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