2 instantiations of RichTextBox
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9341
DefaultConstructor = delegate () { return new System.Windows.Controls.
RichTextBox
(); },
System\Windows\Markup\KnownTypes.cs (1)
1500
case KnownElements.RichTextBox: o = new System.Windows.Controls.
RichTextBox
(); break;
56 references to RichTextBox
PresentationFramework (56)
MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (11)
169
public StickyNoteRichTextBox(
RichTextBox
rtb)
191
((
RichTextBox
)InnerControl).Document = new FlowDocument(new Paragraph(new Run()));
202
RichTextBox
richTextBox = (
RichTextBox
)InnerControl;
229
RichTextBox
richTextBox = (
RichTextBox
)InnerControl;
258
RichTextBox
richTextBox = (
RichTextBox
)InnerControl;
475
RichTextBox
rtb = content as
RichTextBox
;
477
throw new InvalidOperationException(SR.Format(SR.InvalidStickyNoteTemplate, type, typeof(
RichTextBox
), SNBConstants.c_ContentControlId));
System\Windows\Automation\Peers\RichTextBoxAutomationPeer.cs (7)
17
public RichTextBoxAutomationPeer(
RichTextBox
owner): base(owner)
38
RichTextBox
owner = (
RichTextBox
)Owner;
72
RichTextBox
owner = (
RichTextBox
)Owner;
84
RichTextBox
owner = (
RichTextBox
)Owner;
System\Windows\Controls\RichTextBox.cs (16)
43
DefaultStyleKeyProperty.OverrideMetadata(typeof(
RichTextBox
), new FrameworkPropertyMetadata(typeof(
RichTextBox
)));
44
_dType = DependencyObjectType.FromSystemTypeInternal(typeof(
RichTextBox
));
47
KeyboardNavigation.AcceptsReturnProperty.OverrideMetadata(typeof(
RichTextBox
), new FrameworkPropertyMetadata(true));
50
TextBoxBase.AutoWordSelectionProperty.OverrideMetadata(typeof(
RichTextBox
), new FrameworkPropertyMetadata(true));
57
TextBoxBase.SelectionOpacityProperty.OverrideMetadata(typeof(
RichTextBox
), new FrameworkPropertyMetadata(TextBoxBase.AdornerSelectionOpacityDefaultValue));
94
TextEditor.RegisterCommandHandlers(typeof(
RichTextBox
), /*acceptsRichContent:*/true, /*readOnly*/false, /*registerEventListeners*/false);
500
DependencyProperty.Register("IsDocumentEnabled", typeof(bool), typeof(
RichTextBox
),
639
inheritableFormattingProperties[i].OverrideMetadata(typeof(
RichTextBox
), new FrameworkPropertyMetadata(formattingPropertyCallback));
647
inheritableBehavioralProperties[i].OverrideMetadata(typeof(
RichTextBox
), new FrameworkPropertyMetadata(behavioralPropertyCallback));
691
RichTextBox
richTextBox = (
RichTextBox
)d;
729
RichTextBox
richTextBox = (
RichTextBox
)d;
801
RichTextBox
richTextBox = (
RichTextBox
)d;
System\Windows\Documents\FlowDocument.cs (4)
861
RichTextBox
parentRichTextBox = this.Parent as
RichTextBox
;
1044
if (newParent is
RichTextBox
|| oldParent is
RichTextBox
)
System\Windows\Documents\Run.cs (2)
279
RichTextBox
rtb = document.Parent as
RichTextBox
;
System\windows\Documents\TextEditor.cs (1)
1060
return _uiScope == null ? false : (bool)_uiScope.GetValue(
RichTextBox
.AutoWordSelectionProperty);
System\windows\Documents\TextEditorTyping.cs (3)
244
RichTextBox
richTextBox = sender as
RichTextBox
;
1886
if (This.UiScope is
RichTextBox
&& This.TextView != null && This.TextView.IsValid)
System\Windows\FrameworkCompatibilityPreferences.cs (1)
362
/// controls (<see cref="System.Windows.Controls.TextBox"/> and <see cref="System.Windows.Controls.
RichTextBox
"/>)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
621
case 527: t = () => typeof(
RichTextBox
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (7)
5865
Type type = typeof(System.Windows.Controls.
RichTextBox
);
5867
this.GetXamlType(typeof(System.Windows.Controls.
RichTextBox
)), // DeclaringType
5874
SetDelegate = delegate (object target, object value) { ((System.Windows.Controls.
RichTextBox
)target).Document = (System.Windows.Documents.FlowDocument)value; },
5875
GetDelegate = delegate (object target) { return ((System.Windows.Controls.
RichTextBox
)target).Document; }
5884
Type type = typeof(System.Windows.Controls.
RichTextBox
);
5885
DependencyProperty dp = System.Windows.Controls.
RichTextBox
.IsReadOnlyProperty;
5887
this.GetXamlType(typeof(System.Windows.Controls.
RichTextBox
)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9338
typeof(System.Windows.Controls.
RichTextBox
),
System\Windows\Markup\KnownTypes.cs (2)
1862
return System.Windows.Controls.
RichTextBox
.IsReadOnlyProperty;
6075
case KnownElements.RichTextBox: t = typeof(System.Windows.Controls.
RichTextBox
); break;