1 write to _scrollData
PresentationFramework (1)
MS\Internal\Documents\FlowDocumentView.cs (1)
713_scrollData = new ScrollData();
92 references to _scrollData
PresentationFramework (92)
MS\Internal\Documents\FlowDocumentView.cs (92)
80if (_scrollData != null) 116if (_scrollData != null) 118if (!DoubleUtil.AreClose(_scrollData.Viewport, safeArrangeSize)) 120_scrollData.Viewport = safeArrangeSize; 124if (!DoubleUtil.AreClose(_scrollData.Extent, _formatter.DocumentPage.Size)) 126_scrollData.Extent = _formatter.DocumentPage.Size; 132if (Math.Abs(_scrollData.ExtentWidth - _scrollData.ViewportWidth) < 1) 134_scrollData.ExtentWidth = _scrollData.ViewportWidth; 136if (Math.Abs(_scrollData.ExtentHeight - _scrollData.ViewportHeight) < 1) 138_scrollData.ExtentHeight = _scrollData.ViewportHeight; 142Math.Max(0, Math.Min(_scrollData.ExtentWidth - _scrollData.ViewportWidth, _scrollData.HorizontalOffset)), 143Math.Max(0, Math.Min(_scrollData.ExtentHeight - _scrollData.ViewportHeight, _scrollData.VerticalOffset))); 144if (!DoubleUtil.AreClose(offset, _scrollData.Offset)) 146_scrollData.Offset = offset; 149if (invalidateScrollInfo && _scrollData.ScrollOwner != null) 151_scrollData.ScrollOwner.InvalidateScrollInfo(); 153viewport = new Rect(_scrollData.HorizontalOffset, _scrollData.VerticalOffset, safeArrangeSize.Width, safeArrangeSize.Height); 173if (_scrollData != null) 175_pageVisual.Offset = new Vector(-_scrollData.HorizontalOffset, -_scrollData.VerticalOffset); 195if (_scrollData != null) 197if (!DoubleUtil.AreClose(_scrollData.Viewport, safeArrangeSize)) 199_scrollData.Viewport = safeArrangeSize; 202if (!DoubleUtil.AreClose(_scrollData.Extent, new Size())) 204_scrollData.Extent = new Size(); 207if (!DoubleUtil.AreClose(_scrollData.Offset, new Vector())) 209_scrollData.Offset = new Vector(); 212if (invalidateScrollInfo && _scrollData.ScrollOwner != null) 214_scrollData.ScrollOwner.InvalidateScrollInfo(); 430if (_scrollData != null) 432_scrollData.LineUp(this); 441if (_scrollData != null) 443_scrollData.LineDown(this); 452if (_scrollData != null) 454_scrollData.LineLeft(this); 463if (_scrollData != null) 465_scrollData.LineRight(this); 474if (_scrollData != null) 476_scrollData.PageUp(this); 485if (_scrollData != null) 487_scrollData.PageDown(this); 496if (_scrollData != null) 498_scrollData.PageLeft(this); 507if (_scrollData != null) 509_scrollData.PageRight(this); 518if (_scrollData != null) 520_scrollData.MouseWheelUp(this); 529if (_scrollData != null) 531_scrollData.MouseWheelDown(this); 540if (_scrollData != null) 542_scrollData.MouseWheelLeft(this); 551if (_scrollData != null) 553_scrollData.MouseWheelRight(this); 562if (_scrollData != null) 564_scrollData.SetHorizontalOffset(this, offset); 573if (_scrollData != null) 575_scrollData.SetVerticalOffset(this, offset); 584if (_scrollData == null) 590rectangle = _scrollData.MakeVisible(this, visual, rectangle); 603return (_scrollData != null) ? _scrollData.CanVerticallyScroll : false; 607if (_scrollData != null) 609_scrollData.CanVerticallyScroll = value; 621return (_scrollData != null) ? _scrollData.CanHorizontallyScroll : false; 625if (_scrollData != null) 627_scrollData.CanHorizontallyScroll = value; 639return (_scrollData != null) ? _scrollData.ExtentWidth : 0; 650return (_scrollData != null) ? _scrollData.ExtentHeight : 0; 661return (_scrollData != null) ? _scrollData.ViewportWidth : 0; 672return (_scrollData != null) ? _scrollData.ViewportHeight : 0; 683return (_scrollData != null) ? _scrollData.HorizontalOffset : 0; 694return (_scrollData != null) ? _scrollData.VerticalOffset : 0; 705return (_scrollData != null) ? _scrollData.ScrollOwner : null; 710if (_scrollData == null) 715_scrollData.SetScrollOwner(this, value);