41 references to DataObject
Microsoft.VisualBasic.Tests (1)
Microsoft\VisualBasic\MyServices\ClipboardProxyTests.cs (1)
57
clipboard.SetDataObject(new System.Windows.Forms.
DataObject
(data));
System.Windows.Forms (7)
System\Windows\Forms\Control.cs (1)
4899
data is DataObject dataObject ? dataObject : new
DataObject
(data);
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
2167
iwdata = new
DataObject
(idataObject);
System\Windows\Forms\OLE\Clipboard.cs (3)
40
/// See remarks for <see cref="
DataObject
(object)"/> for recommendations on how to implement custom <paramref name="data"/>.
57
: new
DataObject
(data) { IsWrappedForClipboard = true };
503
/// See remarks for <see cref="
DataObject
(object)"/> for recommendations on how to implement custom <paramref name="data"/>.
System\Windows\Forms\OLE\DataObject.cs (2)
36
/// <inheritdoc cref="
DataObject
(object)"/>
42
/// <inheritdoc cref="
DataObject
(object)"/>
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\OleDragDropHandler.ComponentDataObjectWrapper.cs (1)
11
public ComponentDataObjectWrapper(ComponentDataObject dataObject) :
base
(dataObject)
System.Windows.Forms.Tests (31)
System\Windows\Forms\ClipboardTests.cs (2)
284
DataObject dataObject =
new
(data);
313
DataObject dataObject =
new
(data);
System\Windows\Forms\ControlTests.Methods.cs (1)
1818
yield return new object[] { new
DataObject
("data"), allowedEffects };
System\Windows\Forms\DataObjectTests.cs (27)
300
DataObject dataObject =
new
(mockDataObject.Object);
331
DataObject dataObject =
new
(mockDataObject.Object);
560
DataObject dataObject =
new
(mockDataObject.Object);
591
DataObject dataObject =
new
(mockDataObject.Object);
742
DataObject dataObject =
new
(mockDataObject.Object);
797
DataObject dataObject =
new
(mockDataObject.Object);
1006
DataObject dataObject =
new
(mockDataObject.Object);
1064
DataObject dataObject =
new
(mockDataObject.Object);
1148
DataObject dataObject =
new
(mockDataObject.Object);
1296
DataObject dataObject =
new
(mockDataObject.Object);
1452
DataObject dataObject =
new
(mockDataObject.Object);
1477
DataObject dataObject =
new
(mockDataObject.Object);
1573
DataObject dataObject =
new
(mockDataObject.Object);
1635
DataObject dataObject =
new
(mockDataObject.Object);
1713
DataObject dataObject =
new
(mockDataObject.Object);
1807
DataObject dataObject =
new
(mockDataObject.Object);
1835
DataObject data =
new
(new DataObjectIgnoringStorageMediumForEnhancedMetafile());
1915
DataObject dataObject =
new
(mockComDataObject.Object);
1944
DataObject dataObject =
new
(mockComDataObject.Object);
1983
DataObject dataObject =
new
(mockComDataObject.Object);
2057
DataObject dataObject =
new
(mockDataObject.Object);
2119
DataObject dataObject =
new
(mockDataObject.Object);
2167
DataObject dataObject =
new
(mockDataObject.Object);
2246
DataObject dataObject =
new
(mockDataObject.Object);
2309
DataObject dataObject =
new
(mockDataObject.Object);
2363
DataObject dataObject =
new
(mockComDataObject.Object);
2868
DataObject wrapped =
new
(dataObject);
System\Windows\Forms\ToolStripItemTests.cs (1)
10153
yield return new object[] { new
DataObject
("data"), allowedEffects };
System.Windows.Forms.UI.IntegrationTests (1)
DesignBehaviorsTests.cs (1)
274
return new
DataObject
(toolboxItem);