1 write to _scrollData
PresentationFramework (1)
MS\Internal\Documents\FlowDocumentView.cs (1)
715_scrollData = new ScrollData();
92 references to _scrollData
PresentationFramework (92)
MS\Internal\Documents\FlowDocumentView.cs (92)
82if (_scrollData != null) 118if (_scrollData != null) 120if (!DoubleUtil.AreClose(_scrollData.Viewport, safeArrangeSize)) 122_scrollData.Viewport = safeArrangeSize; 126if (!DoubleUtil.AreClose(_scrollData.Extent, _formatter.DocumentPage.Size)) 128_scrollData.Extent = _formatter.DocumentPage.Size; 134if (Math.Abs(_scrollData.ExtentWidth - _scrollData.ViewportWidth) < 1) 136_scrollData.ExtentWidth = _scrollData.ViewportWidth; 138if (Math.Abs(_scrollData.ExtentHeight - _scrollData.ViewportHeight) < 1) 140_scrollData.ExtentHeight = _scrollData.ViewportHeight; 144Math.Max(0, Math.Min(_scrollData.ExtentWidth - _scrollData.ViewportWidth, _scrollData.HorizontalOffset)), 145Math.Max(0, Math.Min(_scrollData.ExtentHeight - _scrollData.ViewportHeight, _scrollData.VerticalOffset))); 146if (!DoubleUtil.AreClose(offset, _scrollData.Offset)) 148_scrollData.Offset = offset; 151if (invalidateScrollInfo && _scrollData.ScrollOwner != null) 153_scrollData.ScrollOwner.InvalidateScrollInfo(); 155viewport = new Rect(_scrollData.HorizontalOffset, _scrollData.VerticalOffset, safeArrangeSize.Width, safeArrangeSize.Height); 175if (_scrollData != null) 177_pageVisual.Offset = new Vector(-_scrollData.HorizontalOffset, -_scrollData.VerticalOffset); 197if (_scrollData != null) 199if (!DoubleUtil.AreClose(_scrollData.Viewport, safeArrangeSize)) 201_scrollData.Viewport = safeArrangeSize; 204if (!DoubleUtil.AreClose(_scrollData.Extent, new Size())) 206_scrollData.Extent = new Size(); 209if (!DoubleUtil.AreClose(_scrollData.Offset, new Vector())) 211_scrollData.Offset = new Vector(); 214if (invalidateScrollInfo && _scrollData.ScrollOwner != null) 216_scrollData.ScrollOwner.InvalidateScrollInfo(); 432if (_scrollData != null) 434_scrollData.LineUp(this); 443if (_scrollData != null) 445_scrollData.LineDown(this); 454if (_scrollData != null) 456_scrollData.LineLeft(this); 465if (_scrollData != null) 467_scrollData.LineRight(this); 476if (_scrollData != null) 478_scrollData.PageUp(this); 487if (_scrollData != null) 489_scrollData.PageDown(this); 498if (_scrollData != null) 500_scrollData.PageLeft(this); 509if (_scrollData != null) 511_scrollData.PageRight(this); 520if (_scrollData != null) 522_scrollData.MouseWheelUp(this); 531if (_scrollData != null) 533_scrollData.MouseWheelDown(this); 542if (_scrollData != null) 544_scrollData.MouseWheelLeft(this); 553if (_scrollData != null) 555_scrollData.MouseWheelRight(this); 564if (_scrollData != null) 566_scrollData.SetHorizontalOffset(this, offset); 575if (_scrollData != null) 577_scrollData.SetVerticalOffset(this, offset); 586if (_scrollData == null) 592rectangle = _scrollData.MakeVisible(this, visual, rectangle); 605return (_scrollData != null) ? _scrollData.CanVerticallyScroll : false; 609if (_scrollData != null) 611_scrollData.CanVerticallyScroll = value; 623return (_scrollData != null) ? _scrollData.CanHorizontallyScroll : false; 627if (_scrollData != null) 629_scrollData.CanHorizontallyScroll = value; 641return (_scrollData != null) ? _scrollData.ExtentWidth : 0; 652return (_scrollData != null) ? _scrollData.ExtentHeight : 0; 663return (_scrollData != null) ? _scrollData.ViewportWidth : 0; 674return (_scrollData != null) ? _scrollData.ViewportHeight : 0; 685return (_scrollData != null) ? _scrollData.HorizontalOffset : 0; 696return (_scrollData != null) ? _scrollData.VerticalOffset : 0; 707return (_scrollData != null) ? _scrollData.ScrollOwner : null; 712if (_scrollData == null) 717_scrollData.SetScrollOwner(this, value);