2 instantiations of RichTextBox
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9340
DefaultConstructor = delegate () { return new System.Windows.Controls.
RichTextBox
(); },
System\Windows\Markup\KnownTypes.cs (1)
1499
case KnownElements.RichTextBox: o = new System.Windows.Controls.
RichTextBox
(); break;
56 references to RichTextBox
PresentationFramework (56)
MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (11)
168
public StickyNoteRichTextBox(
RichTextBox
rtb)
190
((
RichTextBox
)InnerControl).Document = new FlowDocument(new Paragraph(new Run()));
201
RichTextBox
richTextBox = (
RichTextBox
)InnerControl;
228
RichTextBox
richTextBox = (
RichTextBox
)InnerControl;
257
RichTextBox
richTextBox = (
RichTextBox
)InnerControl;
474
RichTextBox
rtb = content as
RichTextBox
;
476
throw new InvalidOperationException(SR.Format(SR.InvalidStickyNoteTemplate, type, typeof(
RichTextBox
), SNBConstants.c_ContentControlId));
System\Windows\Automation\Peers\RichTextBoxAutomationPeer.cs (7)
16
public RichTextBoxAutomationPeer(
RichTextBox
owner): base(owner)
37
RichTextBox
owner = (
RichTextBox
)Owner;
71
RichTextBox
owner = (
RichTextBox
)Owner;
83
RichTextBox
owner = (
RichTextBox
)Owner;
System\Windows\Controls\RichTextBox.cs (16)
42
DefaultStyleKeyProperty.OverrideMetadata(typeof(
RichTextBox
), new FrameworkPropertyMetadata(typeof(
RichTextBox
)));
43
_dType = DependencyObjectType.FromSystemTypeInternal(typeof(
RichTextBox
));
46
KeyboardNavigation.AcceptsReturnProperty.OverrideMetadata(typeof(
RichTextBox
), new FrameworkPropertyMetadata(true));
49
TextBoxBase.AutoWordSelectionProperty.OverrideMetadata(typeof(
RichTextBox
), new FrameworkPropertyMetadata(true));
56
TextBoxBase.SelectionOpacityProperty.OverrideMetadata(typeof(
RichTextBox
), new FrameworkPropertyMetadata(TextBoxBase.AdornerSelectionOpacityDefaultValue));
93
TextEditor.RegisterCommandHandlers(typeof(
RichTextBox
), /*acceptsRichContent:*/true, /*readOnly*/false, /*registerEventListeners*/false);
499
DependencyProperty.Register("IsDocumentEnabled", typeof(bool), typeof(
RichTextBox
),
638
inheritableFormattingProperties[i].OverrideMetadata(typeof(
RichTextBox
), new FrameworkPropertyMetadata(formattingPropertyCallback));
646
inheritableBehavioralProperties[i].OverrideMetadata(typeof(
RichTextBox
), new FrameworkPropertyMetadata(behavioralPropertyCallback));
690
RichTextBox
richTextBox = (
RichTextBox
)d;
728
RichTextBox
richTextBox = (
RichTextBox
)d;
800
RichTextBox
richTextBox = (
RichTextBox
)d;
System\Windows\Documents\FlowDocument.cs (4)
857
RichTextBox
parentRichTextBox = this.Parent as
RichTextBox
;
1037
if (newParent is
RichTextBox
|| oldParent is
RichTextBox
)
System\Windows\Documents\Run.cs (2)
269
RichTextBox
rtb = document.Parent as
RichTextBox
;
System\windows\Documents\TextEditor.cs (1)
1056
return _uiScope == null ? false : (bool)_uiScope.GetValue(
RichTextBox
.AutoWordSelectionProperty);
System\windows\Documents\TextEditorTyping.cs (3)
240
RichTextBox
richTextBox = sender as
RichTextBox
;
1873
if (This.UiScope is
RichTextBox
&& This.TextView != null && This.TextView.IsValid)
System\Windows\FrameworkCompatibilityPreferences.cs (1)
361
/// controls (<see cref="System.Windows.Controls.TextBox"/> and <see cref="System.Windows.Controls.
RichTextBox
"/>)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
620
case 527: t = () => typeof(
RichTextBox
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (7)
5864
Type type = typeof(System.Windows.Controls.
RichTextBox
);
5866
this.GetXamlType(typeof(System.Windows.Controls.
RichTextBox
)), // DeclaringType
5873
SetDelegate = delegate (object target, object value) { ((System.Windows.Controls.
RichTextBox
)target).Document = (System.Windows.Documents.FlowDocument)value; },
5874
GetDelegate = delegate (object target) { return ((System.Windows.Controls.
RichTextBox
)target).Document; }
5883
Type type = typeof(System.Windows.Controls.
RichTextBox
);
5884
DependencyProperty dp = System.Windows.Controls.
RichTextBox
.IsReadOnlyProperty;
5886
this.GetXamlType(typeof(System.Windows.Controls.
RichTextBox
)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9337
typeof(System.Windows.Controls.
RichTextBox
),
System\Windows\Markup\KnownTypes.cs (2)
1861
return System.Windows.Controls.
RichTextBox
.IsReadOnlyProperty;
6074
case KnownElements.RichTextBox: t = typeof(System.Windows.Controls.
RichTextBox
); break;