14 references to SetDataObject
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\MyServices\ClipboardProxy.vb (1)
175
Clipboard.
SetDataObject
(data)
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
21860
Clipboard.
SetDataObject
(dataObject);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (3)
1015
Clipboard.
SetDataObject
(_selectedGridEntry.GetPropertyTextValue());
2888
Clipboard.
SetDataObject
(entry.GetPropertyTextValue());
2915
Clipboard.
SetDataObject
(entry.GetTestingInfo());
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 (7)
System\Windows\Forms\ClipboardTests.cs (7)
262
Clipboard.
SetDataObject
(data);
276
Clipboard.
SetDataObject
(dataObject);
328
() => Clipboard.
SetDataObject
(null!),
360
() => Clipboard.
SetDataObject
(null!),
558
Clipboard.
SetDataObject
(realDataObject);
564
Clipboard.
SetDataObject
(clipboardDataObject!);
574
Clipboard.
SetDataObject
(realDataObject);