15 references to SetDataObject
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\MyServices\ClipboardProxy.vb (1)
184Clipboard.SetDataObject(data)
System.Windows.Forms (5)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
21875Clipboard.SetDataObject(dataObject);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (3)
1015Clipboard.SetDataObject(_selectedGridEntry.GetPropertyTextValue()); 2889Clipboard.SetDataObject(entry.GetPropertyTextValue()); 2916Clipboard.SetDataObject(entry.GetTestingInfo());
System\Windows\Forms\OLE\Clipboard.cs (1)
528/// onto the clipboard via <see cref="SetDataObject(object)"/>.
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\CommandSet.cs (2)
1416if (!ExecuteSafely(() => Clipboard.SetDataObject(dataObj), throwOnException: false)) 1462if (ExecuteSafely(() => Clipboard.SetDataObject(dataObj), throwOnException: false))
System.Windows.Forms.Tests (7)
System\Windows\Forms\ClipboardTests.cs (7)
272Clipboard.SetDataObject(data); 285Clipboard.SetDataObject(dataObject); 337() => Clipboard.SetDataObject(null!), 369() => Clipboard.SetDataObject(null!), 580Clipboard.SetDataObject(realDataObject); 586Clipboard.SetDataObject(clipboardDataObject!); 596Clipboard.SetDataObject(realDataObject);