5 writes to Document
PresentationFramework (5)
MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (2)
196
((RichTextBox)InnerControl).
Document
= new FlowDocument(new Paragraph(new Run()));
243
richTextBox.
Document
= document;
System\Windows\Controls\RichTextBox.cs (2)
119
this.
Document
= document;
166
this.
Document
= (FlowDocument)value;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
5507
bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.RichTextBox)target).
Document
= (System.Windows.Documents.FlowDocument)value; };
12 references to Document
PresentationFramework (12)
MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (4)
209
TextRange rtbRange = new TextRange(richTextBox.
Document
.ContentStart, richTextBox.
Document
.ContentEnd);
265
TextRange textRange = new TextRange(richTextBox.
Document
.ContentStart, richTextBox.
Document
.ContentEnd);
System\Windows\Controls\RichTextBox.cs (7)
146
/// by the parser; a more direct way of adding a child to a RichTextBox is to use the <see cref="
Document
" />
298
Document
?.SetDpi(newDpiScaleInfo);
322
renderScope.Document = this.
Document
;
768
if (this.
Document
!= null)
770
this.
Document
.TextWrapping = TextWrapping.Wrap;
805
if (richTextBox.
Document
!= null)
807
richTextBox.
Document
.CoerceValue(IsEnabledProperty);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
5508
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.RichTextBox)target).
Document
; };