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