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