2 writes to AcceptsRichContent
PresentationFramework (2)
System\Windows\Controls\PasswordBox.cs (1)
839_textEditor.AcceptsRichContent = false;
System\Windows\Controls\TextBox.cs (1)
95this.TextEditor.AcceptsRichContent = false;
46 references to AcceptsRichContent
PresentationFramework (46)
System\Windows\Documents\Speller.cs (1)
1497if (!_textEditor.AcceptsRichContent &&
System\windows\Documents\TextEditor.cs (2)
461if (!this.AcceptsRichContent) 1171if (!this.AcceptsRichContent)
System\windows\Documents\TextEditorCharacters.cs (9)
68if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 121if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection.Start is TextPointer)) 166if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 186if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 209if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 238if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 257if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 285if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 327if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection))
System\windows\Documents\TextEditorCopyPaste.cs (10)
94if (This.AcceptsRichContent) 232if (This.AcceptsRichContent && dataObject.GetDataPresent(DataFormats.XamlPackage)) 236else if (This.AcceptsRichContent && dataObject.GetDataPresent(DataFormats.Xaml)) 240else if (This.AcceptsRichContent && dataObject.GetDataPresent(DataFormats.Rtf)) 252else if (This.AcceptsRichContent && dataObject is DataObject && ((DataObject)dataObject).ContainsImage()) 678if (This.AcceptsRichContent && This.Selection is TextSelection) 699if (This.AcceptsRichContent && This.Selection is TextSelection) 741if (This.AcceptsRichContent && This.Selection is TextSelection) 773if (This.AcceptsRichContent) 941if (This.AcceptsRichContent && This.Selection.Start is TextPointer)
System\windows\Documents\TextEditorDragDrop.cs (2)
413bool italic = (_textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic); 455if (_textEditor.AcceptsRichContent)
System\windows\Documents\TextEditorLists.cs (1)
109if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection))
System\windows\Documents\TextEditorMouse.cs (1)
110if (This.AcceptsRichContent)
System\windows\Documents\TextEditorSpelling.cs (1)
155if (This.AcceptsRichContent)
System\windows\Documents\TextEditorTables.cs (1)
55if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection))
System\windows\Documents\TextEditorTyping.cs (12)
594if (This.AcceptsRichContent && IsAtListItemStart(position)) 601else if (This.AcceptsRichContent && 688if (This.AcceptsRichContent) 924if (This.AcceptsRichContent) 986if (This.AcceptsRichContent) 1056if (This.AcceptsRichContent && This.Selection.Start is TextPointer) 1212if (This.AcceptsRichContent && (This.Selection is TextSelection)) 1228if (This.AcceptsRichContent && (This.Selection is TextSelection)) 1337if (This.AcceptsRichContent && (!This.Selection.IsEmpty || TextPointerBase.IsAtParagraphOrBlockUIContainerStart(This.Selection.Start)) && 1369if (This.AcceptsRichContent && (!This.Selection.IsEmpty || TextPointerBase.IsAtParagraphOrBlockUIContainerStart(This.Selection.Start)) && 1386if (!This.AcceptsRichContent) 1571if (!This.AcceptsRichContent || IsMouseInputPending(This))
System\windows\Documents\TextSelection.cs (3)
148if (!this.IsEmpty && _textEditor.AcceptsRichContent) 2029italic = (textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic); 2119italic = (_textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic);
System\Windows\Documents\TextStore.cs (3)
1249if (this.TextEditor.AcceptsRichContent && start.CompareTo(end) != 0) 2044if (editor.AcceptsRichContent) 3813if (!this.TextEditor.AcceptsRichContent && this.TextEditor.MaxLength > 0)