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