5 writes to Document
PresentationFramework (5)
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (2)
202
((RichTextBox)InnerControl).
Document
= new FlowDocument(new Paragraph(new Run()));
249
richTextBox.
Document
= document;
src\Framework\System\Windows\Controls\RichTextBox.cs (2)
121
this.
Document
= document;
171
this.
Document
= (FlowDocument)value;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
5482
bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.RichTextBox)target).
Document
= (System.Windows.Documents.FlowDocument)value; };
12 references to Document
PresentationFramework (12)
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (4)
215
TextRange rtbRange = new TextRange(richTextBox.
Document
.ContentStart, richTextBox.
Document
.ContentEnd);
271
TextRange textRange = new TextRange(richTextBox.
Document
.ContentStart, richTextBox.
Document
.ContentEnd);
src\Framework\System\Windows\Controls\RichTextBox.cs (7)
148
/// by the parser; a more direct way of adding a child to a RichTextBox is to use the <see cref="
Document
" />
306
Document
?.SetDpi(newDpiScaleInfo);
330
renderScope.Document = this.
Document
;
782
if (this.
Document
!= null)
784
this.
Document
.TextWrapping = TextWrapping.Wrap;
819
if (richTextBox.
Document
!= null)
821
richTextBox.
Document
.CoerceValue(IsEnabledProperty);
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
5483
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.RichTextBox)target).
Document
; };