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);
84
desiredSize.Width = Math.Min(constraint.Width,
_formatter
.DocumentPage.Size.Width);
85
desiredSize.Height = Math.Min(constraint.Height,
_formatter
.DocumentPage.Size.Height);
89
desiredSize =
_formatter
.DocumentPage.Size;
126
if (!DoubleUtil.AreClose(_scrollData.Extent,
_formatter
.DocumentPage.Size))
128
_scrollData.Extent =
_formatter
.DocumentPage.Size;
157
_formatter
.Arrange(safeArrangeSize, viewport);
160
if (_pageVisual !=
_formatter
.DocumentPage.Visual)
170
_pageVisual = (PageVisual)
_formatter
.DocumentPage.Visual;
313
if (
_formatter
!= null)
315
HandleFormatterSuspended(
_formatter
, EventArgs.Empty);
335
return
_formatter
.DocumentPage;
357
if (
_formatter
== null)
360
_formatter
.ContentInvalidated += new EventHandler(HandleContentInvalidated);
361
_formatter
.Suspended += new EventHandler(HandleFormatterSuspended);
363
Invariant.Assert(
_formatter
== _document.BottomlessFormatter);
371
Invariant.Assert(sender ==
_formatter
);
381
Invariant.Assert(sender ==
_formatter
);
384
_formatter
.ContentInvalidated -= new EventHandler(HandleContentInvalidated);
385
_formatter
.Suspended -= new EventHandler(HandleFormatterSuspended);