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