19 references to SetDataObject
ComDisabled.Tests (2)
ClipboardComTests.cs (2)
60
Clipboard.
SetDataObject
(realDataObject);
72
Clipboard.
SetDataObject
(derived);
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\MyServices\ClipboardProxy.vb (1)
185
Clipboard.
SetDataObject
(data)
System.Windows.Forms (5)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
21874
Clipboard.
SetDataObject
(dataObject);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (3)
1015
Clipboard.
SetDataObject
(_selectedGridEntry.GetPropertyTextValue());
2889
Clipboard.
SetDataObject
(entry.GetPropertyTextValue());
2916
Clipboard.
SetDataObject
(entry.GetTestingInfo());
System\Windows\Forms\OLE\Clipboard.cs (1)
494
/// onto the clipboard via <see cref="
SetDataObject
(object)"/>.
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\CommandSet.cs (2)
1416
if (!ExecuteSafely(() => Clipboard.
SetDataObject
(dataObj), throwOnException: false))
1462
if (ExecuteSafely(() => Clipboard.
SetDataObject
(dataObj), throwOnException: false))
System.Windows.Forms.Tests (9)
System\Windows\Forms\ClipboardTests.cs (9)
273
Clipboard.
SetDataObject
(data);
286
Clipboard.
SetDataObject
(dataObject);
338
() => Clipboard.
SetDataObject
(null!),
370
() => Clipboard.
SetDataObject
(null!),
581
Clipboard.
SetDataObject
(derived);
589
Clipboard.
SetDataObject
(realDataObject);
1244
Clipboard.
SetDataObject
(expected);
1279
Clipboard.
SetDataObject
(data);
1284
Clipboard.
SetDataObject
(data);