1 write to _document
PresentationFramework (1)
src\Framework\MS\Internal\Documents\FlowDocumentFormatter.cs (1)
42_document = document;
26 references to _document
PresentationFramework (26)
src\Framework\MS\Internal\Documents\FlowDocumentFormatter.cs (26)
43_documentPage = new FlowDocumentPage(_document.StructuralCache); 66if (_document.StructuralCache.IsFormattingInProgress) 70if (_document.StructuralCache.IsContentChangeInProgress) 76if (_document.StructuralCache.IsFormattedOnce) 81_document.StructuralCache.InvalidateFormatCache(true); 83if (!_arrangedAfterFormat && (!_document.StructuralCache.ForceReformat || !_document.StructuralCache.DestroyStructure)) 102using (_document.Dispatcher.DisableProcessing()) 104_document.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag. 107_document.StructuralCache.BackgroundFormatInfo.ViewportHeight = constraint.Height; 112_document.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag. 125Invariant.Assert(_document.StructuralCache.DtrList == null || _document.StructuralCache.DtrList.Length == 0 || 126(_document.StructuralCache.DtrList.Length == 1 && _document.StructuralCache.BackgroundFormatInfo.DoesFinalDTRCoverRestOfText)); 136viewport = new Rect(0, 0, arrangeSize.Width, _document.StructuralCache.BackgroundFormatInfo.ViewportHeight); 201Size pageSize = new Size(_document.PageWidth, double.PositiveInfinity); 205max = _document.MaxPageWidth; 210min = _document.MinPageWidth; 229double lineHeight = MS.Internal.Text.DynamicPropertyReader.GetLineHeightValue(_document); 230Thickness pageMargin = _document.PagePadding; 313_document.StructuralCache.InvalidateFormatCache(true); 371_document.StructuralCache.IsFormattedOnce && 372!_document.StructuralCache.ForceReformat && 374!_document.StructuralCache.IsContentChangeInProgress && 375!_document.StructuralCache.IsFormattingInProgress;