6 writes to _panningInfo
PresentationFramework (6)
System\Windows\Controls\ScrollViewer.cs (6)
1578_panningInfo = null; 1608_panningInfo = new PanningInfo() 1703_panningInfo = null; 1719_panningInfo = null; 1919_panningInfo = null; 1954_panningInfo = null;
38 references to _panningInfo
PresentationFramework (38)
System\Windows\Controls\ScrollViewer.cs (38)
1621_panningInfo.DeltaPerHorizontalOffet = (DoubleUtil.AreClose(viewportWidth, 0) ? 0 : viewport.ActualWidth / viewportWidth); 1622_panningInfo.DeltaPerVerticalOffset = (DoubleUtil.AreClose(viewportHeight, 0) ? 0 : viewport.ActualHeight / viewportHeight); 1626_panningInfo.DeltaPerHorizontalOffet = (DoubleUtil.AreClose(viewportWidth, 0) ? 0 : ActualWidth / viewportWidth); 1627_panningInfo.DeltaPerVerticalOffset = (DoubleUtil.AreClose(viewportHeight, 0) ? 0 : ActualHeight / viewportHeight); 1683if (_panningInfo != null) 1705else if (_panningInfo.IsPanning) 1713_panningInfo.IsPanning = true; 1729Debug.Assert(_panningInfo != null); 1730PanningMode panningMode = _panningInfo.PanningMode; 1749double unusedX = _panningInfo.UnusedTranslation.X; 1750if (!_panningInfo.InHorizontalFeedback && 1755_panningInfo.InHorizontalFeedback = (!DoubleUtil.AreClose(unusedX, 0)); 1757double unusedY = _panningInfo.UnusedTranslation.Y; 1758if (!_panningInfo.InVerticalFeedback && 1763_panningInfo.InVerticalFeedback = (!DoubleUtil.AreClose(unusedY, 0)); 1765if (_panningInfo.InHorizontalFeedback || _panningInfo.InVerticalFeedback) 1770if (e.IsInertial && _panningInfo.InertiaBoundaryBeginTimestamp == 0) 1772_panningInfo.InertiaBoundaryBeginTimestamp = Environment.TickCount; 1780double unused = (isHorizontal ? _panningInfo.UnusedTranslation.X : _panningInfo.UnusedTranslation.Y); 1823ScrollToHorizontalOffset(_panningInfo.OriginalHorizontalOffset - 1824Math.Round(PanningRatio * cumulativeTranslation / _panningInfo.DeltaPerHorizontalOffet)); 1826_panningInfo.UnusedTranslation = new Vector(unused, _panningInfo.UnusedTranslation.Y); 1833ScrollToVerticalOffset(_panningInfo.OriginalVerticalOffset - 1834Math.Round(PanningRatio * cumulativeTranslation / _panningInfo.DeltaPerVerticalOffset)); 1836_panningInfo.UnusedTranslation = new Vector(_panningInfo.UnusedTranslation.X, unused); 1847if (Math.Abs(Environment.TickCount - _panningInfo.InertiaBoundaryBeginTimestamp) < PanningInfo.InertiaBoundryMinimumTicks) 1852return (DoubleUtil.GreaterThanOrClose(Math.Abs(_panningInfo.UnusedTranslation.X), PanningInfo.MaxInertiaBoundaryTranslation) || 1853DoubleUtil.GreaterThanOrClose(Math.Abs(_panningInfo.UnusedTranslation.Y), PanningInfo.MaxInertiaBoundaryTranslation)); 1863Debug.Assert(_panningInfo != null); 1865PanningMode panningMode = _panningInfo.PanningMode; 1913if (_panningInfo != null) 1915if (!_panningInfo.IsPanning && !ForceNextManipulationComplete) 1931if (_panningInfo != null) 1946if (!e.IsInertial && !_panningInfo.IsPanning && !ForceNextManipulationComplete)