13 references to SetText
System.Windows.Forms (1)
System\Windows\Forms\OLE\DataObject.cs (1)
176
public virtual void SetText(string textData) =>
SetText
(textData, TextDataFormat.UnicodeText);
System.Windows.Forms.Tests (12)
System\Windows\Forms\DataObjectTests.cs (12)
1417
.Setup(o => o.
SetText
(textData, TextDataFormat.UnicodeText))
1420
mockDataObject.Verify(o => o.
SetText
(textData, TextDataFormat.UnicodeText), Times.Once());
1456
dataObject.
SetText
(textData, format);
1508
.Setup(o => o.
SetText
(textData, format))
1513
mockDataObject.Object.
SetText
(textData, format);
1526
dataObject.
SetText
(textData, format);
1537
((Action)(() => dataObject.
SetText
(textData, TextDataFormat.Text))).Should()
1546
((Action)(() => dataObject.
SetText
("text", format))).Should()
2098
dataObject.
SetText
("text", textDataFormat);
2141
dataObject.
SetText
("text", textDataFormat);
2178
dataObject.
SetText
("text", textDataFormat);
2200
dataObject.
SetText
("text", textDataFormat);