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