15 references to Rtf
System.Windows.Forms (2)
System\Windows\Forms\OLE\Clipboard.cs (1)
347TextDataFormat.Rtf => DataFormats.Rtf,
System\Windows\Forms\OLE\DataObject.cs (1)
191TextDataFormat.Rtf => DataFormats.RtfConstant,
System.Windows.Forms.Tests (13)
System\Windows\Forms\DataObjectTests.ClipboardTests.cs (2)
125dataObject.ContainsText(TextDataFormat.Rtf).Should().Be(format == DataFormats.Rtf); 185dataObject.ContainsText(TextDataFormat.Rtf).Should().Be(format == DataFormats.Rtf);
System\Windows\Forms\DataObjectTests.cs (11)
163theoryData.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" }, 1038dataObject.ContainsText(TextDataFormat.Rtf).Should().BeFalse(); 1118dataObject.ContainsText(TextDataFormat.Rtf).Should().BeFalse(); 1443theoryData.Add(textData, TextDataFormat.Rtf, null, textData, null, null); 1494theoryData.Add(textData, TextDataFormat.Rtf, DataFormats.Rtf); 2089{ TextDataFormat.Rtf, (short)DataFormats.GetFormat(DataFormats.Rtf).Id },