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);
82
desiredSize.Width = Math.Min(constraint.Width,
_formatter
.DocumentPage.Size.Width);
83
desiredSize.Height = Math.Min(constraint.Height,
_formatter
.DocumentPage.Size.Height);
87
desiredSize =
_formatter
.DocumentPage.Size;
124
if (!DoubleUtil.AreClose(_scrollData.Extent,
_formatter
.DocumentPage.Size))
126
_scrollData.Extent =
_formatter
.DocumentPage.Size;
155
_formatter
.Arrange(safeArrangeSize, viewport);
158
if (_pageVisual !=
_formatter
.DocumentPage.Visual)
168
_pageVisual = (PageVisual)
_formatter
.DocumentPage.Visual;
311
if (
_formatter
!= null)
313
HandleFormatterSuspended(
_formatter
, EventArgs.Empty);
333
return
_formatter
.DocumentPage;
355
if (
_formatter
== null)
358
_formatter
.ContentInvalidated += new EventHandler(HandleContentInvalidated);
359
_formatter
.Suspended += new EventHandler(HandleFormatterSuspended);
361
Invariant.Assert(
_formatter
== _document.BottomlessFormatter);
369
Invariant.Assert(sender ==
_formatter
);
379
Invariant.Assert(sender ==
_formatter
);
382
_formatter
.ContentInvalidated -= new EventHandler(HandleContentInvalidated);
383
_formatter
.Suspended -= new EventHandler(HandleFormatterSuspended);