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