21 references to Text
Microsoft.VisualBasic.Forms.Tests (3)
System\Windows\Forms\ClipboardProxyTests.vb (3)
21''' Testing only that <see cref=" MyServices.ClipboardProxy"/> contains <see cref="TextDataFormat.Text"/>. 28Dim expected As Boolean = clipboardProxy.ContainsText(format:=TextDataFormat.Text) 29Clipboard.ContainsText(format:=TextDataFormat.Text).Should.Be(expected)
System.Windows.Forms (1)
System\Windows\Forms\OLE\Clipboard.cs (1)
622TextDataFormat.Text => DataFormats.Text,
System.Windows.Forms.Tests (17)
System\Windows\Forms\ClipboardTests.cs (1)
516action = () => Clipboard.SetText(text, TextDataFormat.Text);
System\Windows\Forms\DataObjectTests.ClipboardTests.cs (2)
124dataObject.ContainsText(TextDataFormat.Text).Should().Be(format == DataFormats.UnicodeText); 184dataObject.ContainsText(TextDataFormat.Text).Should().Be(format == DataFormats.UnicodeText);
System\Windows\Forms\DataObjectTests.cs (14)
169theoryData.Add(TextDataFormat.Text, DataFormats.UnicodeText, result); 896{ TextDataFormat.Text, DataFormats.UnicodeText, null, string.Empty }, 897{ TextDataFormat.Text, DataFormats.UnicodeText, new(), string.Empty }, 898{ TextDataFormat.Text, DataFormats.UnicodeText, string.Empty, string.Empty }, 899{ TextDataFormat.Text, DataFormats.UnicodeText, " ", " " }, 900{ TextDataFormat.Text, DataFormats.UnicodeText, "a", "a" }, 1205dataObject.ContainsText(TextDataFormat.Text).Should().Be(format == DataFormats.UnicodeText); 1245dataObject.ContainsText(TextDataFormat.Text).Should().BeFalse(); 1354dataObject.ContainsText(TextDataFormat.Text).Should().Be(format == DataFormats.UnicodeText); 1398dataObject.ContainsText(TextDataFormat.Text).Should().BeFalse(); 1723theoryData.Add(textData, TextDataFormat.Text, textData, null, null, null); 1774theoryData.Add(textData, TextDataFormat.Text, DataFormats.UnicodeText); 1819((Action)(() => dataObject.SetText(textData, TextDataFormat.Text))).Should() 2414{ TextDataFormat.Text, (short)CLIPBOARD_FORMAT.CF_UNICODETEXT },