2 writes to _formatter
PresentationFramework (2)
src\Framework\MS\Internal\Documents\FlowDocumentView.cs (2)
364
_formatter
= _document.BottomlessFormatter;
391
_formatter
= null;
20 references to _formatter
PresentationFramework (20)
src\Framework\MS\Internal\Documents\FlowDocumentView.cs (20)
83
_formatter
.Format(constraint);
89
desiredSize.Width = Math.Min(constraint.Width,
_formatter
.DocumentPage.Size.Width);
90
desiredSize.Height = Math.Min(constraint.Height,
_formatter
.DocumentPage.Size.Height);
94
desiredSize =
_formatter
.DocumentPage.Size;
131
if (!DoubleUtil.AreClose(_scrollData.Extent,
_formatter
.DocumentPage.Size))
133
_scrollData.Extent =
_formatter
.DocumentPage.Size;
162
_formatter
.Arrange(safeArrangeSize, viewport);
165
if (_pageVisual !=
_formatter
.DocumentPage.Visual)
175
_pageVisual = (PageVisual)
_formatter
.DocumentPage.Visual;
318
if (
_formatter
!= null)
320
HandleFormatterSuspended(
_formatter
, EventArgs.Empty);
340
return
_formatter
.DocumentPage;
362
if (
_formatter
== null)
365
_formatter
.ContentInvalidated += new EventHandler(HandleContentInvalidated);
366
_formatter
.Suspended += new EventHandler(HandleFormatterSuspended);
368
Invariant.Assert(
_formatter
== _document.BottomlessFormatter);
376
Invariant.Assert(sender ==
_formatter
);
386
Invariant.Assert(sender ==
_formatter
);
389
_formatter
.ContentInvalidated -= new EventHandler(HandleContentInvalidated);
390
_formatter
.Suspended -= new EventHandler(HandleFormatterSuspended);