2 writes to _formatter
PresentationFramework (2)
MS\Internal\Documents\FlowDocumentView.cs (2)
359_formatter = _document.BottomlessFormatter; 386_formatter = null;
20 references to _formatter
PresentationFramework (20)
MS\Internal\Documents\FlowDocumentView.cs (20)
78_formatter.Format(constraint); 84desiredSize.Width = Math.Min(constraint.Width, _formatter.DocumentPage.Size.Width); 85desiredSize.Height = Math.Min(constraint.Height, _formatter.DocumentPage.Size.Height); 89desiredSize = _formatter.DocumentPage.Size; 126if (!DoubleUtil.AreClose(_scrollData.Extent, _formatter.DocumentPage.Size)) 128_scrollData.Extent = _formatter.DocumentPage.Size; 157_formatter.Arrange(safeArrangeSize, viewport); 160if (_pageVisual != _formatter.DocumentPage.Visual) 170_pageVisual = (PageVisual)_formatter.DocumentPage.Visual; 313if (_formatter != null) 315HandleFormatterSuspended(_formatter, EventArgs.Empty); 335return _formatter.DocumentPage; 357if (_formatter == null) 360_formatter.ContentInvalidated += new EventHandler(HandleContentInvalidated); 361_formatter.Suspended += new EventHandler(HandleFormatterSuspended); 363Invariant.Assert(_formatter == _document.BottomlessFormatter); 371Invariant.Assert(sender == _formatter); 381Invariant.Assert(sender == _formatter); 384_formatter.ContentInvalidated -= new EventHandler(HandleContentInvalidated); 385_formatter.Suspended -= new EventHandler(HandleFormatterSuspended);