11 implementations of GetData
ComDisabled.Tests (1)
DataObjectComTests.cs (1)
54public object GetData(Type format) => throw new NotImplementedException();
System.Windows.Forms (4)
System\Windows\Forms\OLE\DataObject.Composition.cs (1)
109object? IDataObject.GetData(Type format) => _winFormsDataObject.GetData(format);
System\Windows\Forms\OLE\DataObject.Composition.NativeToWinFormsAdapter.cs (1)
434object? IDataObject.GetData(Type format) => ((IDataObject)this).GetData(format.FullName!);
System\Windows\Forms\OLE\DataObject.cs (1)
100public virtual object? GetData(Type format) => format is null ? null : GetData(format.FullName!);
System\Windows\Forms\OLE\DataObject.DataStore.cs (1)
78public virtual object? GetData(Type format) => GetData(format.FullName!);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\OleDragDropHandler.ComponentDataObject.cs (1)
158public virtual object? GetData(Type t)
System.Windows.Forms.Tests (5)
System\Windows\Forms\ClipboardTests.cs (1)
583object IDataObject.GetData(Type format) => null!;
System\Windows\Forms\DataObjectComTests.cs (1)
55public object GetData(Type format) => throw new NotImplementedException();
System\Windows\Forms\DataObjectTests.cs (1)
2397public object GetData(Type format) => throw new NotImplementedException();
System\Windows\Forms\DragEventArgsTests.cs (1)
105public object GetData(Type format) => throw new NotImplementedException();
System\Windows\Forms\ToolStripItemTests.cs (1)
10244public object GetData(Type format) => throw new NotImplementedException();
10 references to GetData
System.Windows.Forms (3)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
1048string? data = (string?)dataObj.GetData(typeof(string));
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackDragDropHandler.cs (1)
39ToolStripItem item = (ToolStripItem)e.Data.GetData(typeof(ToolStripItem))!;
System\Windows\Forms\OLE\DataObject.Composition.cs (1)
109object? IDataObject.GetData(Type format) => _winFormsDataObject.GetData(format);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (1)
527TreeNode dragNode = (TreeNode)e.Data.GetData(typeof(TreeNode));
System.Windows.Forms.Tests (4)
System\Windows\Forms\ClipboardTests.cs (3)
255dataObject.GetData(data.GetType()).Should().Be(data); 269actual.GetData(data.GetType()).Should().Be(data); 284dataObject.GetData(data.GetType()).Should().Be(data);
System\Windows\Forms\DataObjectTests.cs (1)
2454outData.GetData(typeof(string)).Should().Be(testString);
System.Windows.Forms.UI.IntegrationTests (2)
DragDropTests.cs (2)
80data = e.Data?.GetData(typeof(Button)); 830object? item = e.Data.GetData(typeof(string));