17 references to Html
System.Windows.Forms (2)
System\Windows\Forms\OLE\Clipboard.cs (1)
625
TextDataFormat.
Html
=> DataFormats.Html,
System\Windows\Forms\OLE\DataObject.cs (1)
434
TextDataFormat.
Html
=> DataFormats.HtmlConstant,
System.Windows.Forms.Tests (15)
System\Windows\Forms\DataObjectTests.ClipboardTests.cs (2)
127
dataObject.ContainsText(TextDataFormat.
Html
).Should().Be(format == DataFormats.Html);
187
dataObject.ContainsText(TextDataFormat.
Html
).Should().Be(format == DataFormats.Html);
System\Windows\Forms\DataObjectTests.cs (13)
172
theoryData.Add(TextDataFormat.
Html
, DataFormats.Html, result);
914
{ TextDataFormat.
Html
, DataFormats.Html, null, string.Empty },
915
{ TextDataFormat.
Html
, DataFormats.Html, new(), string.Empty },
916
{ TextDataFormat.
Html
, DataFormats.Html, string.Empty, string.Empty },
917
{ TextDataFormat.
Html
, DataFormats.Html, " ", " " },
918
{ TextDataFormat.
Html
, DataFormats.Html, "a", "a" },
1208
dataObject.ContainsText(TextDataFormat.
Html
).Should().Be(format == DataFormats.Html);
1248
dataObject.ContainsText(TextDataFormat.
Html
).Should().BeFalse();
1357
dataObject.ContainsText(TextDataFormat.
Html
).Should().Be(format == DataFormats.Html);
1401
dataObject.ContainsText(TextDataFormat.
Html
).Should().BeFalse();
1726
theoryData.Add(textData, TextDataFormat.
Html
, null, null, textData, null);
1777
theoryData.Add(textData, TextDataFormat.
Html
, DataFormats.Html);
2372
{ TextDataFormat.
Html
, (short)DataFormats.GetFormat(DataFormats.Html).Id }