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)
359
Invariant.Assert(
_document
!= null);
360
return
_document
;
370
if (value !=
_document
&&
377
if (
_document
!= null && this.TextSelectionInternal.ChangeBlockLevel > 0)
382
if (value ==
_document
)
389
bool initialSetting =
_document
== null;
392
if (
_document
!= null)
395
_document
.PageSizeChanged -= new EventHandler(this.OnPageSizeChangedHandler);
398
this.RemoveLogicalChild(
_document
);
401
_document
.TextContainer.CollectTextChanges = false;
419
_document
.SetDpi(this.GetDpi());
426
_document
.TextContainer.CollectTextChanges = true;
429
this.InitializeTextContainer(
_document
.TextContainer);
432
_document
.PageSizeChanged += new EventHandler(this.OnPageSizeChangedHandler);
435
this.AddLogicalChild(
_document
);
480
Block firstBlock =
_document
.Blocks.FirstBlock;
485
firstBlock ==
_document
.Blocks.LastBlock &&
550
if (this.
_document
== null)
558
return new SingleChildEnumerator(this.
_document
);
720
object defaultValue =
_document
.GetValue(property);
723
_document
.ClearValue(property);
724
defaultValue =
_document
.GetValue(property);
727
_document
.SetValue(property, inheritedValue);
763
_document
.SetValue(property, inheritedValue);