19 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)
345TextDataFormat.Text => DataFormats.Text,
System.Windows.Forms.Tests (15)
System\Windows\Forms\ClipboardTests.cs (1)
473action = () => Clipboard.SetText(text, TextDataFormat.Text);
System\Windows\Forms\DataObjectTests.ClipboardTests.cs (2)
122dataObject.ContainsText(TextDataFormat.Text).Should().Be(format == DataFormats.UnicodeText); 182dataObject.ContainsText(TextDataFormat.Text).Should().Be(format == DataFormats.UnicodeText);
System\Windows\Forms\DataObjectTests.cs (12)
161theoryData.Add(TextDataFormat.Text, DataFormats.UnicodeText, result); 750{ TextDataFormat.Text, DataFormats.UnicodeText, null, string.Empty }, 751{ TextDataFormat.Text, DataFormats.UnicodeText, new(), string.Empty }, 752{ TextDataFormat.Text, DataFormats.UnicodeText, string.Empty, string.Empty }, 753{ TextDataFormat.Text, DataFormats.UnicodeText, " ", " " }, 754{ TextDataFormat.Text, DataFormats.UnicodeText, "a", "a" }, 1036dataObject.ContainsText(TextDataFormat.Text).Should().BeFalse(); 1116dataObject.ContainsText(TextDataFormat.Text).Should().BeFalse(); 1441theoryData.Add(textData, TextDataFormat.Text, textData, null, null, null); 1492theoryData.Add(textData, TextDataFormat.Text, DataFormats.UnicodeText); 1537((Action)(() => dataObject.SetText(textData, TextDataFormat.Text))).Should() 2132{ TextDataFormat.Text, (short)CLIPBOARD_FORMAT.CF_UNICODETEXT },