2 instantiations of RichTextBox
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8450
bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.
RichTextBox
(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1507
case KnownElements.RichTextBox: o = new System.Windows.Controls.
RichTextBox
(); break;
52 references to RichTextBox
PresentationFramework (52)
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (11)
180
public StickyNoteRichTextBox(
RichTextBox
rtb)
202
((
RichTextBox
)InnerControl).Document = new FlowDocument(new Paragraph(new Run()));
213
RichTextBox
richTextBox = (
RichTextBox
)InnerControl;
240
RichTextBox
richTextBox = (
RichTextBox
)InnerControl;
269
RichTextBox
richTextBox = (
RichTextBox
)InnerControl;
486
RichTextBox
rtb = content as
RichTextBox
;
488
throw new InvalidOperationException(SR.Get(SRID.InvalidStickyNoteTemplate, type, typeof(
RichTextBox
), SNBConstants.c_ContentControlId));
src\Framework\System\Windows\Automation\Peers\RichTextBoxAutomationPeer.cs (7)
24
public RichTextBoxAutomationPeer(
RichTextBox
owner): base(owner)
45
RichTextBox
owner = (
RichTextBox
)Owner;
80
RichTextBox
owner = (
RichTextBox
)Owner;
92
RichTextBox
owner = (
RichTextBox
)Owner;
src\Framework\System\Windows\Controls\RichTextBox.cs (16)
49
DefaultStyleKeyProperty.OverrideMetadata(typeof(
RichTextBox
), new FrameworkPropertyMetadata(typeof(
RichTextBox
)));
50
_dType = DependencyObjectType.FromSystemTypeInternal(typeof(
RichTextBox
));
53
KeyboardNavigation.AcceptsReturnProperty.OverrideMetadata(typeof(
RichTextBox
), new FrameworkPropertyMetadata(true));
56
TextBoxBase.AutoWordSelectionProperty.OverrideMetadata(typeof(
RichTextBox
), new FrameworkPropertyMetadata(true));
63
TextBoxBase.SelectionOpacityProperty.OverrideMetadata(typeof(
RichTextBox
), new FrameworkPropertyMetadata(TextBoxBase.AdornerSelectionOpacityDefaultValue));
100
TextEditor.RegisterCommandHandlers(typeof(
RichTextBox
), /*acceptsRichContent:*/true, /*readOnly*/false, /*registerEventListeners*/false);
513
DependencyProperty.Register("IsDocumentEnabled", typeof(bool), typeof(
RichTextBox
),
655
inheritableFormattingProperties[i].OverrideMetadata(typeof(
RichTextBox
), new FrameworkPropertyMetadata(formattingPropertyCallback));
663
inheritableBehavioralProperties[i].OverrideMetadata(typeof(
RichTextBox
), new FrameworkPropertyMetadata(behavioralPropertyCallback));
707
RichTextBox
richTextBox = (
RichTextBox
)d;
745
RichTextBox
richTextBox = (
RichTextBox
)d;
817
RichTextBox
richTextBox = (
RichTextBox
)d;
src\Framework\System\Windows\Documents\FlowDocument.cs (4)
869
RichTextBox
parentRichTextBox = this.Parent as
RichTextBox
;
1052
if (newParent is
RichTextBox
|| oldParent is
RichTextBox
)
src\Framework\System\Windows\Documents\Run.cs (2)
279
RichTextBox
rtb = document.Parent as
RichTextBox
;
src\Framework\System\windows\Documents\TextEditor.cs (1)
1096
return _uiScope == null ? false : (bool)_uiScope.GetValue(
RichTextBox
.AutoWordSelectionProperty);
src\Framework\System\windows\Documents\TextEditorTyping.cs (3)
257
RichTextBox
richTextBox = sender as
RichTextBox
;
1925
if (This.UiScope is
RichTextBox
&& This.TextView != null && This.TextView.IsValid)
src\Framework\System\Windows\FrameworkCompatibilityPreferences.cs (1)
404
/// controls (<see cref="System.Windows.Controls.TextBox"/> and <see cref="System.Windows.Controls.
RichTextBox
"/>)
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
619
case 527: t = () => typeof(
RichTextBox
); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (4)
5474
Type type = typeof(System.Windows.Controls.
RichTextBox
);
5476
this.GetXamlType(typeof(System.Windows.Controls.
RichTextBox
)), // DeclaringType
5482
bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.
RichTextBox
)target).Document = (System.Windows.Documents.FlowDocument)value; };
5483
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.
RichTextBox
)target).Document; };
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8448
typeof(System.Windows.Controls.
RichTextBox
),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
6071
case KnownElements.RichTextBox: t = typeof(System.Windows.Controls.
RichTextBox
); break;