2 writes to AcceptsRichContent
PresentationFramework (2)
System\Windows\Controls\PasswordBox.cs (1)
840
_textEditor.
AcceptsRichContent
= false;
System\Windows\Controls\TextBox.cs (1)
96
this.TextEditor.
AcceptsRichContent
= false;
46 references to AcceptsRichContent
PresentationFramework (46)
System\Windows\Documents\Speller.cs (1)
1498
if (!_textEditor.
AcceptsRichContent
&&
System\windows\Documents\TextEditor.cs (2)
462
if (!this.
AcceptsRichContent
)
1172
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())
679
if (This.
AcceptsRichContent
&& This.Selection is TextSelection)
700
if (This.
AcceptsRichContent
&& This.Selection is TextSelection)
742
if (This.
AcceptsRichContent
&& This.Selection is TextSelection)
774
if (This.
AcceptsRichContent
)
942
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)
595
if (This.
AcceptsRichContent
&& IsAtListItemStart(position))
602
else if (This.
AcceptsRichContent
&&
689
if (This.
AcceptsRichContent
)
925
if (This.
AcceptsRichContent
)
987
if (This.
AcceptsRichContent
)
1057
if (This.
AcceptsRichContent
&& This.Selection.Start is TextPointer)
1213
if (This.
AcceptsRichContent
&& (This.Selection is TextSelection))
1229
if (This.
AcceptsRichContent
&& (This.Selection is TextSelection))
1338
if (This.
AcceptsRichContent
&& (!This.Selection.IsEmpty || TextPointerBase.IsAtParagraphOrBlockUIContainerStart(This.Selection.Start)) &&
1370
if (This.
AcceptsRichContent
&& (!This.Selection.IsEmpty || TextPointerBase.IsAtParagraphOrBlockUIContainerStart(This.Selection.Start)) &&
1387
if (!This.
AcceptsRichContent
)
1572
if (!This.
AcceptsRichContent
|| IsMouseInputPending(This))
System\windows\Documents\TextSelection.cs (3)
149
if (!this.IsEmpty && _textEditor.
AcceptsRichContent
)
2030
italic = (textEditor.
AcceptsRichContent
&& fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic);
2120
italic = (_textEditor.
AcceptsRichContent
&& fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic);
System\Windows\Documents\TextStore.cs (3)
1250
if (this.TextEditor.
AcceptsRichContent
&& start.CompareTo(end) != 0)
2045
if (editor.
AcceptsRichContent
)
3814
if (!this.TextEditor.
AcceptsRichContent
&& this.TextEditor.MaxLength > 0)