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