6 writes to _panningInfo
PresentationFramework (6)
System\Windows\Controls\ScrollViewer.cs (6)
1576_panningInfo = null; 1606_panningInfo = new PanningInfo() 1701_panningInfo = null; 1717_panningInfo = null; 1917_panningInfo = null; 1952_panningInfo = null;
38 references to _panningInfo
PresentationFramework (38)
System\Windows\Controls\ScrollViewer.cs (38)
1619_panningInfo.DeltaPerHorizontalOffet = (DoubleUtil.AreClose(viewportWidth, 0) ? 0 : viewport.ActualWidth / viewportWidth); 1620_panningInfo.DeltaPerVerticalOffset = (DoubleUtil.AreClose(viewportHeight, 0) ? 0 : viewport.ActualHeight / viewportHeight); 1624_panningInfo.DeltaPerHorizontalOffet = (DoubleUtil.AreClose(viewportWidth, 0) ? 0 : ActualWidth / viewportWidth); 1625_panningInfo.DeltaPerVerticalOffset = (DoubleUtil.AreClose(viewportHeight, 0) ? 0 : ActualHeight / viewportHeight); 1681if (_panningInfo != null) 1703else if (_panningInfo.IsPanning) 1711_panningInfo.IsPanning = true; 1727Debug.Assert(_panningInfo != null); 1728PanningMode panningMode = _panningInfo.PanningMode; 1747double unusedX = _panningInfo.UnusedTranslation.X; 1748if (!_panningInfo.InHorizontalFeedback && 1753_panningInfo.InHorizontalFeedback = (!DoubleUtil.AreClose(unusedX, 0)); 1755double unusedY = _panningInfo.UnusedTranslation.Y; 1756if (!_panningInfo.InVerticalFeedback && 1761_panningInfo.InVerticalFeedback = (!DoubleUtil.AreClose(unusedY, 0)); 1763if (_panningInfo.InHorizontalFeedback || _panningInfo.InVerticalFeedback) 1768if (e.IsInertial && _panningInfo.InertiaBoundaryBeginTimestamp == 0) 1770_panningInfo.InertiaBoundaryBeginTimestamp = Environment.TickCount; 1778double unused = (isHorizontal ? _panningInfo.UnusedTranslation.X : _panningInfo.UnusedTranslation.Y); 1821ScrollToHorizontalOffset(_panningInfo.OriginalHorizontalOffset - 1822Math.Round(PanningRatio * cumulativeTranslation / _panningInfo.DeltaPerHorizontalOffet)); 1824_panningInfo.UnusedTranslation = new Vector(unused, _panningInfo.UnusedTranslation.Y); 1831ScrollToVerticalOffset(_panningInfo.OriginalVerticalOffset - 1832Math.Round(PanningRatio * cumulativeTranslation / _panningInfo.DeltaPerVerticalOffset)); 1834_panningInfo.UnusedTranslation = new Vector(_panningInfo.UnusedTranslation.X, unused); 1845if (Math.Abs(Environment.TickCount - _panningInfo.InertiaBoundaryBeginTimestamp) < PanningInfo.InertiaBoundryMinimumTicks) 1850return (DoubleUtil.GreaterThanOrClose(Math.Abs(_panningInfo.UnusedTranslation.X), PanningInfo.MaxInertiaBoundaryTranslation) || 1851DoubleUtil.GreaterThanOrClose(Math.Abs(_panningInfo.UnusedTranslation.Y), PanningInfo.MaxInertiaBoundaryTranslation)); 1861Debug.Assert(_panningInfo != null); 1863PanningMode panningMode = _panningInfo.PanningMode; 1911if (_panningInfo != null) 1913if (!_panningInfo.IsPanning && !ForceNextManipulationComplete) 1929if (_panningInfo != null) 1944if (!e.IsInertial && !_panningInfo.IsPanning && !ForceNextManipulationComplete)