2 writes to AcceptsRichContent
PresentationFramework (2)
src\Framework\System\Windows\Controls\PasswordBox.cs (1)
871_textEditor.AcceptsRichContent = false;
src\Framework\System\Windows\Controls\TextBox.cs (1)
102this.TextEditor.AcceptsRichContent = false;
46 references to AcceptsRichContent
PresentationFramework (46)
src\Framework\System\Windows\Documents\Speller.cs (1)
1600if (!_textEditor.AcceptsRichContent &&
src\Framework\System\windows\Documents\TextEditor.cs (2)
491if (!this.AcceptsRichContent) 1211if (!this.AcceptsRichContent)
src\Framework\System\windows\Documents\TextEditorCharacters.cs (9)
87if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 140if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection.Start is TextPointer)) 185if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 205if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 228if (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)) 276if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 304if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 346if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection))
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (10)
137if (This.AcceptsRichContent) 305if (This.AcceptsRichContent && hasUnmanagedCodePermission && dataObject.GetDataPresent(DataFormats.XamlPackage)) 309else if (This.AcceptsRichContent && dataObject.GetDataPresent(DataFormats.Xaml)) 313else if (This.AcceptsRichContent && hasUnmanagedCodePermission && dataObject.GetDataPresent(DataFormats.Rtf)) 325else if (This.AcceptsRichContent && hasUnmanagedCodePermission && dataObject is DataObject && ((DataObject)dataObject).ContainsImage()) 857if (This.AcceptsRichContent && This.Selection is TextSelection && 881if (This.AcceptsRichContent && This.Selection is TextSelection && 924if (This.AcceptsRichContent && This.Selection is TextSelection) 956if (This.AcceptsRichContent && SecurityHelper.CheckUnmanagedCodePermission()) 1130if (This.AcceptsRichContent && This.Selection.Start is TextPointer)
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (2)
443bool italic = (_textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic); 485if (_textEditor.AcceptsRichContent)
src\Framework\System\windows\Documents\TextEditorLists.cs (1)
128if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection))
src\Framework\System\windows\Documents\TextEditorMouse.cs (1)
127if (This.AcceptsRichContent)
src\Framework\System\windows\Documents\TextEditorSpelling.cs (1)
159if (This.AcceptsRichContent)
src\Framework\System\windows\Documents\TextEditorTables.cs (1)
75if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection))
src\Framework\System\windows\Documents\TextEditorTyping.cs (12)
629if (This.AcceptsRichContent && IsAtListItemStart(position)) 636else if (This.AcceptsRichContent && 723if (This.AcceptsRichContent) 960if (This.AcceptsRichContent) 1022if (This.AcceptsRichContent) 1092if (This.AcceptsRichContent && This.Selection.Start is TextPointer) 1248if (This.AcceptsRichContent && (This.Selection is TextSelection)) 1264if (This.AcceptsRichContent && (This.Selection is TextSelection)) 1376if (This.AcceptsRichContent && (!This.Selection.IsEmpty || TextPointerBase.IsAtParagraphOrBlockUIContainerStart(This.Selection.Start)) && 1408if (This.AcceptsRichContent && (!This.Selection.IsEmpty || TextPointerBase.IsAtParagraphOrBlockUIContainerStart(This.Selection.Start)) && 1425if (!This.AcceptsRichContent) 1610if (!This.AcceptsRichContent || IsMouseInputPending(This))
src\Framework\System\windows\Documents\TextSelection.cs (3)
155if (!this.IsEmpty && _textEditor.AcceptsRichContent) 2056italic = (textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic); 2146italic = (_textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic);
src\Framework\System\Windows\Documents\TextStore.cs (3)
1136if (this.TextEditor.AcceptsRichContent && start.CompareTo(end) != 0) 1931if (editor.AcceptsRichContent) 3688if (!this.TextEditor.AcceptsRichContent && this.TextEditor.MaxLength > 0)