20 references to Rtf
PresentationCore (3)
Core\CSharp\System\Windows\DataFormats.cs (1)
325
dataFormat = DataFormats.
Rtf
;
Core\CSharp\System\Windows\DataObject.cs (2)
1790
|| IsFormatEqual(format, DataFormats.
Rtf
)
3163
|| IsFormatEqual(format, DataFormats.
Rtf
)
PresentationFramework (17)
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (3)
304
if (e.FormatToApply == DataFormats.
Rtf
)
309
String rtfString = e.DataObject.GetData(DataFormats.
Rtf
) as String;
313
range.Load(data, DataFormats.
Rtf
);
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (10)
163
if (ConfirmDataFormatSetting(This.UiScope, dataObject, DataFormats.
Rtf
))
170
dataObject.SetData(DataFormats.
Rtf
, rtfText, true);
313
else if (This.AcceptsRichContent && hasUnmanagedCodePermission && dataObject.GetDataPresent(DataFormats.
Rtf
))
315
formatToApply = DataFormats.
Rtf
;
908
else if (SecurityHelper.CheckUnmanagedCodePermission() && dataObjectToApply.GetDataPresent(DataFormats.
Rtf
))
910
formatToApply = DataFormats.
Rtf
;
936
if (SecurityHelper.CheckUnmanagedCodePermission() && dataObjectToApply.GetDataPresent(DataFormats.
Rtf
))
938
formatToApply = DataFormats.
Rtf
;
950
if (formatToApply == DataFormats.
Rtf
)
958
object pastedData = GetPasteData(dataObjectToApply, DataFormats.
Rtf
);
src\Framework\System\Windows\Documents\TextRangeBase.cs (4)
1495
dataFormat == DataFormats.
Rtf
)));
1509
dataFormat == DataFormats.
Rtf
)));
1549
else if (dataFormat == DataFormats.
Rtf
&& SecurityHelper.CheckUnmanagedCodePermission())
1608
else if (dataFormat == DataFormats.
Rtf
&& SecurityHelper.CheckUnmanagedCodePermission())