13 references to SetText
System.Windows.Forms (1)
System\Windows\Forms\OLE\DataObject.cs (1)
176public 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)) 1420mockDataObject.Verify(o => o.SetText(textData, TextDataFormat.UnicodeText), Times.Once()); 1456dataObject.SetText(textData, format); 1508.Setup(o => o.SetText(textData, format)) 1513mockDataObject.Object.SetText(textData, format); 1526dataObject.SetText(textData, format); 1537((Action)(() => dataObject.SetText(textData, TextDataFormat.Text))).Should() 1546((Action)(() => dataObject.SetText("text", format))).Should() 2098dataObject.SetText("text", textDataFormat); 2141dataObject.SetText("text", textDataFormat); 2178dataObject.SetText("text", textDataFormat); 2200dataObject.SetText("text", textDataFormat);