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
"/>.
28
Dim expected As Boolean = clipboardProxy.ContainsText(format:=TextDataFormat.
Text
)
29
Clipboard.ContainsText(format:=TextDataFormat.
Text
).Should.Be(expected)
System.Windows.Forms (1)
System\Windows\Forms\OLE\Clipboard.cs (1)
622
TextDataFormat.
Text
=> DataFormats.Text,
System.Windows.Forms.Tests (17)
System\Windows\Forms\ClipboardTests.cs (1)
516
action = () => Clipboard.SetText(text, TextDataFormat.
Text
);
System\Windows\Forms\DataObjectTests.ClipboardTests.cs (2)
124
dataObject.ContainsText(TextDataFormat.
Text
).Should().Be(format == DataFormats.UnicodeText);
184
dataObject.ContainsText(TextDataFormat.
Text
).Should().Be(format == DataFormats.UnicodeText);
System\Windows\Forms\DataObjectTests.cs (14)
169
theoryData.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" },
1205
dataObject.ContainsText(TextDataFormat.
Text
).Should().Be(format == DataFormats.UnicodeText);
1245
dataObject.ContainsText(TextDataFormat.
Text
).Should().BeFalse();
1354
dataObject.ContainsText(TextDataFormat.
Text
).Should().Be(format == DataFormats.UnicodeText);
1398
dataObject.ContainsText(TextDataFormat.
Text
).Should().BeFalse();
1723
theoryData.Add(textData, TextDataFormat.
Text
, textData, null, null, null);
1774
theoryData.Add(textData, TextDataFormat.
Text
, DataFormats.UnicodeText);
1819
((Action)(() => dataObject.SetText(textData, TextDataFormat.
Text
))).Should()
2414
{ TextDataFormat.
Text
, (short)CLIPBOARD_FORMAT.CF_UNICODETEXT },