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