2 writes to _formatter
PresentationFramework (2)
MS\Internal\Documents\FlowDocumentView.cs (2)
357_formatter = _document.BottomlessFormatter; 384_formatter = null;
20 references to _formatter
PresentationFramework (20)
MS\Internal\Documents\FlowDocumentView.cs (20)
76_formatter.Format(constraint); 82desiredSize.Width = Math.Min(constraint.Width, _formatter.DocumentPage.Size.Width); 83desiredSize.Height = Math.Min(constraint.Height, _formatter.DocumentPage.Size.Height); 87desiredSize = _formatter.DocumentPage.Size; 124if (!DoubleUtil.AreClose(_scrollData.Extent, _formatter.DocumentPage.Size)) 126_scrollData.Extent = _formatter.DocumentPage.Size; 155_formatter.Arrange(safeArrangeSize, viewport); 158if (_pageVisual != _formatter.DocumentPage.Visual) 168_pageVisual = (PageVisual)_formatter.DocumentPage.Visual; 311if (_formatter != null) 313HandleFormatterSuspended(_formatter, EventArgs.Empty); 333return _formatter.DocumentPage; 355if (_formatter == null) 358_formatter.ContentInvalidated += new EventHandler(HandleContentInvalidated); 359_formatter.Suspended += new EventHandler(HandleFormatterSuspended); 361Invariant.Assert(_formatter == _document.BottomlessFormatter); 369Invariant.Assert(sender == _formatter); 379Invariant.Assert(sender == _formatter); 382_formatter.ContentInvalidated -= new EventHandler(HandleContentInvalidated); 383_formatter.Suspended -= new EventHandler(HandleFormatterSuspended);