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