2 writes to AcceptsRichContent
PresentationFramework (2)
System\Windows\Controls\PasswordBox.cs (1)
855_textEditor.AcceptsRichContent = false;
System\Windows\Controls\TextBox.cs (1)
101this.TextEditor.AcceptsRichContent = false;
46 references to AcceptsRichContent
PresentationFramework (46)
System\Windows\Documents\Speller.cs (1)
1505if (!_textEditor.AcceptsRichContent &&
System\windows\Documents\TextEditor.cs (2)
476if (!this.AcceptsRichContent) 1184if (!this.AcceptsRichContent)
System\windows\Documents\TextEditorCharacters.cs (9)
85if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 138if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection.Start is TextPointer)) 183if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 203if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 226if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 255if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 274if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 302if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 344if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection))
System\windows\Documents\TextEditorCopyPaste.cs (10)
108if (This.AcceptsRichContent) 246if (This.AcceptsRichContent && dataObject.GetDataPresent(DataFormats.XamlPackage)) 250else if (This.AcceptsRichContent && dataObject.GetDataPresent(DataFormats.Xaml)) 254else if (This.AcceptsRichContent && dataObject.GetDataPresent(DataFormats.Rtf)) 266else if (This.AcceptsRichContent && dataObject is DataObject && ((DataObject)dataObject).ContainsImage()) 690if (This.AcceptsRichContent && This.Selection is TextSelection) 711if (This.AcceptsRichContent && This.Selection is TextSelection) 753if (This.AcceptsRichContent && This.Selection is TextSelection) 785if (This.AcceptsRichContent) 953if (This.AcceptsRichContent && This.Selection.Start is TextPointer)
System\windows\Documents\TextEditorDragDrop.cs (2)
431bool italic = (_textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic); 473if (_textEditor.AcceptsRichContent)
System\windows\Documents\TextEditorLists.cs (1)
126if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection))
System\windows\Documents\TextEditorMouse.cs (1)
125if (This.AcceptsRichContent)
System\windows\Documents\TextEditorSpelling.cs (1)
157if (This.AcceptsRichContent)
System\windows\Documents\TextEditorTables.cs (1)
73if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection))
System\windows\Documents\TextEditorTyping.cs (12)
613if (This.AcceptsRichContent && IsAtListItemStart(position)) 620else if (This.AcceptsRichContent && 707if (This.AcceptsRichContent) 943if (This.AcceptsRichContent) 1005if (This.AcceptsRichContent) 1075if (This.AcceptsRichContent && This.Selection.Start is TextPointer) 1231if (This.AcceptsRichContent && (This.Selection is TextSelection)) 1247if (This.AcceptsRichContent && (This.Selection is TextSelection)) 1359if (This.AcceptsRichContent && (!This.Selection.IsEmpty || TextPointerBase.IsAtParagraphOrBlockUIContainerStart(This.Selection.Start)) && 1391if (This.AcceptsRichContent && (!This.Selection.IsEmpty || TextPointerBase.IsAtParagraphOrBlockUIContainerStart(This.Selection.Start)) && 1408if (!This.AcceptsRichContent) 1593if (!This.AcceptsRichContent || IsMouseInputPending(This))
System\windows\Documents\TextSelection.cs (3)
152if (!this.IsEmpty && _textEditor.AcceptsRichContent) 2048italic = (textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic); 2138italic = (_textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic);
System\Windows\Documents\TextStore.cs (3)
1264if (this.TextEditor.AcceptsRichContent && start.CompareTo(end) != 0) 2062if (editor.AcceptsRichContent) 3832if (!this.TextEditor.AcceptsRichContent && this.TextEditor.MaxLength > 0)