2 writes to _document
PresentationFramework (2)
src\Framework\System\Windows\Controls\RichTextBox.cs (2)
404_document = null; 418_document = value;
24 references to _document
PresentationFramework (24)
src\Framework\System\Windows\Controls\RichTextBox.cs (24)
359Invariant.Assert(_document != null); 360return _document; 370if (value != _document && 377if (_document != null && this.TextSelectionInternal.ChangeBlockLevel > 0) 382if (value == _document) 389bool initialSetting = _document == null; 392if (_document != null) 395_document.PageSizeChanged -= new EventHandler(this.OnPageSizeChangedHandler); 398this.RemoveLogicalChild(_document); 401_document.TextContainer.CollectTextChanges = false; 419_document.SetDpi(this.GetDpi()); 426_document.TextContainer.CollectTextChanges = true; 429this.InitializeTextContainer(_document.TextContainer); 432_document.PageSizeChanged += new EventHandler(this.OnPageSizeChangedHandler); 435this.AddLogicalChild(_document); 480Block firstBlock = _document.Blocks.FirstBlock; 485firstBlock == _document.Blocks.LastBlock && 550if (this._document == null) 558return new SingleChildEnumerator(this._document); 720object defaultValue = _document.GetValue(property); 723_document.ClearValue(property); 724defaultValue = _document.GetValue(property); 727_document.SetValue(property, inheritedValue); 763_document.SetValue(property, inheritedValue);