2 writes to AcceptsRichContent
PresentationFramework (2)
System\Windows\Controls\PasswordBox.cs (1)
847_textEditor.AcceptsRichContent = false;
System\Windows\Controls\TextBox.cs (1)
94this.TextEditor.AcceptsRichContent = false;
46 references to AcceptsRichContent
PresentationFramework (46)
System\Windows\Documents\Speller.cs (1)
1501if (!_textEditor.AcceptsRichContent &&
System\windows\Documents\TextEditor.cs (2)
470if (!this.AcceptsRichContent) 1178if (!this.AcceptsRichContent)
System\windows\Documents\TextEditorCharacters.cs (9)
69if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 122if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection.Start is TextPointer)) 167if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 187if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 210if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 239if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 258if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 286if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 328if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection))
System\windows\Documents\TextEditorCopyPaste.cs (10)
95if (This.AcceptsRichContent) 233if (This.AcceptsRichContent && dataObject.GetDataPresent(DataFormats.XamlPackage)) 237else if (This.AcceptsRichContent && dataObject.GetDataPresent(DataFormats.Xaml)) 241else if (This.AcceptsRichContent && dataObject.GetDataPresent(DataFormats.Rtf)) 253else if (This.AcceptsRichContent && dataObject is DataObject && ((DataObject)dataObject).ContainsImage()) 677if (This.AcceptsRichContent && This.Selection is TextSelection) 698if (This.AcceptsRichContent && This.Selection is TextSelection) 740if (This.AcceptsRichContent && This.Selection is TextSelection) 772if (This.AcceptsRichContent) 940if (This.AcceptsRichContent && This.Selection.Start is TextPointer)
System\windows\Documents\TextEditorDragDrop.cs (2)
414bool italic = (_textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic); 456if (_textEditor.AcceptsRichContent)
System\windows\Documents\TextEditorLists.cs (1)
110if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection))
System\windows\Documents\TextEditorMouse.cs (1)
111if (This.AcceptsRichContent)
System\windows\Documents\TextEditorSpelling.cs (1)
156if (This.AcceptsRichContent)
System\windows\Documents\TextEditorTables.cs (1)
56if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection))
System\windows\Documents\TextEditorTyping.cs (12)
604if (This.AcceptsRichContent && IsAtListItemStart(position)) 611else if (This.AcceptsRichContent && 698if (This.AcceptsRichContent) 934if (This.AcceptsRichContent) 996if (This.AcceptsRichContent) 1066if (This.AcceptsRichContent && This.Selection.Start is TextPointer) 1222if (This.AcceptsRichContent && (This.Selection is TextSelection)) 1238if (This.AcceptsRichContent && (This.Selection is TextSelection)) 1350if (This.AcceptsRichContent && (!This.Selection.IsEmpty || TextPointerBase.IsAtParagraphOrBlockUIContainerStart(This.Selection.Start)) && 1382if (This.AcceptsRichContent && (!This.Selection.IsEmpty || TextPointerBase.IsAtParagraphOrBlockUIContainerStart(This.Selection.Start)) && 1399if (!This.AcceptsRichContent) 1584if (!This.AcceptsRichContent || IsMouseInputPending(This))
System\windows\Documents\TextSelection.cs (3)
149if (!this.IsEmpty && _textEditor.AcceptsRichContent) 2045italic = (textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic); 2135italic = (_textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic);
System\Windows\Documents\TextStore.cs (3)
1253if (this.TextEditor.AcceptsRichContent && start.CompareTo(end) != 0) 2051if (editor.AcceptsRichContent) 3821if (!this.TextEditor.AcceptsRichContent && this.TextEditor.MaxLength > 0)