20 references to Rtf
PresentationCore (3)
System\Windows\DataFormats.cs (1)
307
dataFormat = DataFormats.
Rtf
;
System\Windows\dataobject.cs (2)
1485
|| IsFormatEqual(format, DataFormats.
Rtf
)
2783
|| IsFormatEqual(format, DataFormats.
Rtf
)
PresentationFramework (17)
MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (3)
298
if (e.FormatToApply == DataFormats.
Rtf
)
303
String rtfString = e.DataObject.GetData(DataFormats.
Rtf
) as String;
307
range.Load(data, DataFormats.
Rtf
);
System\windows\Documents\TextEditorCopyPaste.cs (10)
126
if (ConfirmDataFormatSetting(This.UiScope, dataObject, DataFormats.
Rtf
))
133
dataObject.SetData(DataFormats.
Rtf
, rtfText, true);
254
else if (This.AcceptsRichContent && dataObject.GetDataPresent(DataFormats.
Rtf
))
256
formatToApply = DataFormats.
Rtf
;
737
else if (dataObjectToApply.GetDataPresent(DataFormats.
Rtf
))
739
formatToApply = DataFormats.
Rtf
;
765
if (dataObjectToApply.GetDataPresent(DataFormats.
Rtf
))
767
formatToApply = DataFormats.
Rtf
;
779
if (formatToApply == DataFormats.
Rtf
)
787
object pastedData = GetPasteData(dataObjectToApply, DataFormats.
Rtf
);
System\Windows\Documents\TextRangeBase.cs (4)
1480
dataFormat == DataFormats.
Rtf
)));
1493
dataFormat == DataFormats.
Rtf
)));
1527
else if (dataFormat == DataFormats.
Rtf
)
1580
else if (dataFormat == DataFormats.
Rtf
)