1 write to _scrollData
PresentationFramework (1)
src\Framework\MS\Internal\Documents\FlowDocumentView.cs (1)
720_scrollData = new ScrollData();
92 references to _scrollData
PresentationFramework (92)
src\Framework\MS\Internal\Documents\FlowDocumentView.cs (92)
87if (_scrollData != null) 123if (_scrollData != null) 125if (!DoubleUtil.AreClose(_scrollData.Viewport, safeArrangeSize)) 127_scrollData.Viewport = safeArrangeSize; 131if (!DoubleUtil.AreClose(_scrollData.Extent, _formatter.DocumentPage.Size)) 133_scrollData.Extent = _formatter.DocumentPage.Size; 139if (Math.Abs(_scrollData.ExtentWidth - _scrollData.ViewportWidth) < 1) 141_scrollData.ExtentWidth = _scrollData.ViewportWidth; 143if (Math.Abs(_scrollData.ExtentHeight - _scrollData.ViewportHeight) < 1) 145_scrollData.ExtentHeight = _scrollData.ViewportHeight; 149Math.Max(0, Math.Min(_scrollData.ExtentWidth - _scrollData.ViewportWidth, _scrollData.HorizontalOffset)), 150Math.Max(0, Math.Min(_scrollData.ExtentHeight - _scrollData.ViewportHeight, _scrollData.VerticalOffset))); 151if (!DoubleUtil.AreClose(offset, _scrollData.Offset)) 153_scrollData.Offset = offset; 156if (invalidateScrollInfo && _scrollData.ScrollOwner != null) 158_scrollData.ScrollOwner.InvalidateScrollInfo(); 160viewport = new Rect(_scrollData.HorizontalOffset, _scrollData.VerticalOffset, safeArrangeSize.Width, safeArrangeSize.Height); 180if (_scrollData != null) 182_pageVisual.Offset = new Vector(-_scrollData.HorizontalOffset, -_scrollData.VerticalOffset); 202if (_scrollData != null) 204if (!DoubleUtil.AreClose(_scrollData.Viewport, safeArrangeSize)) 206_scrollData.Viewport = safeArrangeSize; 209if (!DoubleUtil.AreClose(_scrollData.Extent, new Size())) 211_scrollData.Extent = new Size(); 214if (!DoubleUtil.AreClose(_scrollData.Offset, new Vector())) 216_scrollData.Offset = new Vector(); 219if (invalidateScrollInfo && _scrollData.ScrollOwner != null) 221_scrollData.ScrollOwner.InvalidateScrollInfo(); 437if (_scrollData != null) 439_scrollData.LineUp(this); 448if (_scrollData != null) 450_scrollData.LineDown(this); 459if (_scrollData != null) 461_scrollData.LineLeft(this); 470if (_scrollData != null) 472_scrollData.LineRight(this); 481if (_scrollData != null) 483_scrollData.PageUp(this); 492if (_scrollData != null) 494_scrollData.PageDown(this); 503if (_scrollData != null) 505_scrollData.PageLeft(this); 514if (_scrollData != null) 516_scrollData.PageRight(this); 525if (_scrollData != null) 527_scrollData.MouseWheelUp(this); 536if (_scrollData != null) 538_scrollData.MouseWheelDown(this); 547if (_scrollData != null) 549_scrollData.MouseWheelLeft(this); 558if (_scrollData != null) 560_scrollData.MouseWheelRight(this); 569if (_scrollData != null) 571_scrollData.SetHorizontalOffset(this, offset); 580if (_scrollData != null) 582_scrollData.SetVerticalOffset(this, offset); 591if (_scrollData == null) 597rectangle = _scrollData.MakeVisible(this, visual, rectangle); 610return (_scrollData != null) ? _scrollData.CanVerticallyScroll : false; 614if (_scrollData != null) 616_scrollData.CanVerticallyScroll = value; 628return (_scrollData != null) ? _scrollData.CanHorizontallyScroll : false; 632if (_scrollData != null) 634_scrollData.CanHorizontallyScroll = value; 646return (_scrollData != null) ? _scrollData.ExtentWidth : 0; 657return (_scrollData != null) ? _scrollData.ExtentHeight : 0; 668return (_scrollData != null) ? _scrollData.ViewportWidth : 0; 679return (_scrollData != null) ? _scrollData.ViewportHeight : 0; 690return (_scrollData != null) ? _scrollData.HorizontalOffset : 0; 701return (_scrollData != null) ? _scrollData.VerticalOffset : 0; 712return (_scrollData != null) ? _scrollData.ScrollOwner : null; 717if (_scrollData == null) 722_scrollData.SetScrollOwner(this, value);