15 references to Rtf
System.Windows.Forms (2)
System\Windows\Forms\OLE\Clipboard.cs (1)
347
TextDataFormat.
Rtf
=> DataFormats.Rtf,
System\Windows\Forms\OLE\DataObject.cs (1)
191
TextDataFormat.
Rtf
=> DataFormats.RtfConstant,
System.Windows.Forms.Tests (13)
System\Windows\Forms\DataObjectTests.ClipboardTests.cs (2)
125
dataObject.ContainsText(TextDataFormat.
Rtf
).Should().Be(format == DataFormats.Rtf);
185
dataObject.ContainsText(TextDataFormat.
Rtf
).Should().Be(format == DataFormats.Rtf);
System\Windows\Forms\DataObjectTests.cs (11)
163
theoryData.Add(TextDataFormat.
Rtf
, DataFormats.Rtf, result);
762
{ TextDataFormat.
Rtf
, DataFormats.Rtf, null, string.Empty },
763
{ TextDataFormat.
Rtf
, DataFormats.Rtf, new(), string.Empty },
764
{ TextDataFormat.
Rtf
, DataFormats.Rtf, string.Empty, string.Empty },
765
{ TextDataFormat.
Rtf
, DataFormats.Rtf, " ", " " },
766
{ TextDataFormat.
Rtf
, DataFormats.Rtf, "a", "a" },
1038
dataObject.ContainsText(TextDataFormat.
Rtf
).Should().BeFalse();
1118
dataObject.ContainsText(TextDataFormat.
Rtf
).Should().BeFalse();
1443
theoryData.Add(textData, TextDataFormat.
Rtf
, null, textData, null, null);
1494
theoryData.Add(textData, TextDataFormat.
Rtf
, DataFormats.Rtf);
2089
{ TextDataFormat.
Rtf
, (short)DataFormats.GetFormat(DataFormats.Rtf).Id },