2 instantiations of RichTextBox
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8454
bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.
RichTextBox
(); };
System\Windows\Markup\KnownTypes.cs (1)
1506
case KnownElements.RichTextBox: o = new System.Windows.Controls.
RichTextBox
(); break;
56 references to RichTextBox
PresentationFramework (56)
MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (11)
174
public StickyNoteRichTextBox(
RichTextBox
rtb)
196
((
RichTextBox
)InnerControl).Document = new FlowDocument(new Paragraph(new Run()));
207
RichTextBox
richTextBox = (
RichTextBox
)InnerControl;
234
RichTextBox
richTextBox = (
RichTextBox
)InnerControl;
263
RichTextBox
richTextBox = (
RichTextBox
)InnerControl;
480
RichTextBox
rtb = content as
RichTextBox
;
482
throw new InvalidOperationException(SR.Format(SR.InvalidStickyNoteTemplate, type, typeof(
RichTextBox
), SNBConstants.c_ContentControlId));
System\Windows\Automation\Peers\RichTextBoxAutomationPeer.cs (7)
28
public RichTextBoxAutomationPeer(
RichTextBox
owner): base(owner)
49
RichTextBox
owner = (
RichTextBox
)Owner;
83
RichTextBox
owner = (
RichTextBox
)Owner;
95
RichTextBox
owner = (
RichTextBox
)Owner;
System\Windows\Controls\RichTextBox.cs (16)
47
DefaultStyleKeyProperty.OverrideMetadata(typeof(
RichTextBox
), new FrameworkPropertyMetadata(typeof(
RichTextBox
)));
48
_dType = DependencyObjectType.FromSystemTypeInternal(typeof(
RichTextBox
));
51
KeyboardNavigation.AcceptsReturnProperty.OverrideMetadata(typeof(
RichTextBox
), new FrameworkPropertyMetadata(true));
54
TextBoxBase.AutoWordSelectionProperty.OverrideMetadata(typeof(
RichTextBox
), new FrameworkPropertyMetadata(true));
61
TextBoxBase.SelectionOpacityProperty.OverrideMetadata(typeof(
RichTextBox
), new FrameworkPropertyMetadata(TextBoxBase.AdornerSelectionOpacityDefaultValue));
98
TextEditor.RegisterCommandHandlers(typeof(
RichTextBox
), /*acceptsRichContent:*/true, /*readOnly*/false, /*registerEventListeners*/false);
502
DependencyProperty.Register("IsDocumentEnabled", typeof(bool), typeof(
RichTextBox
),
641
inheritableFormattingProperties[i].OverrideMetadata(typeof(
RichTextBox
), new FrameworkPropertyMetadata(formattingPropertyCallback));
649
inheritableBehavioralProperties[i].OverrideMetadata(typeof(
RichTextBox
), new FrameworkPropertyMetadata(behavioralPropertyCallback));
693
RichTextBox
richTextBox = (
RichTextBox
)d;
731
RichTextBox
richTextBox = (
RichTextBox
)d;
803
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)
1069
return _uiScope == null ? false : (bool)_uiScope.GetValue(
RichTextBox
.AutoWordSelectionProperty);
System\windows\Documents\TextEditorTyping.cs (3)
253
RichTextBox
richTextBox = sender as
RichTextBox
;
1895
if (This.UiScope is
RichTextBox
&& This.TextView != null && This.TextView.IsValid)
System\Windows\FrameworkCompatibilityPreferences.cs (1)
365
/// controls (<see cref="System.Windows.Controls.TextBox"/> and <see cref="System.Windows.Controls.
RichTextBox
"/>)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
623
case 527: t = () => typeof(
RichTextBox
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (7)
5499
Type type = typeof(System.Windows.Controls.
RichTextBox
);
5501
this.GetXamlType(typeof(System.Windows.Controls.
RichTextBox
)), // DeclaringType
5507
bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.
RichTextBox
)target).Document = (System.Windows.Documents.FlowDocument)value; };
5508
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.
RichTextBox
)target).Document; };
5516
Type type = typeof(System.Windows.Controls.
RichTextBox
);
5517
DependencyProperty dp = System.Windows.Controls.
RichTextBox
.IsReadOnlyProperty;
5519
this.GetXamlType(typeof(System.Windows.Controls.
RichTextBox
)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8452
typeof(System.Windows.Controls.
RichTextBox
),
System\Windows\Markup\KnownTypes.cs (2)
1868
return System.Windows.Controls.
RichTextBox
.IsReadOnlyProperty;
6081
case KnownElements.RichTextBox: t = typeof(System.Windows.Controls.
RichTextBox
); break;