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