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)
109public object? GetData(Type format) => _winFormsDataObject.GetData(format);
System\Windows\Forms\OLE\DataObject.Composition.NativeToWinFormsAdapter.cs (1)
436object? 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)
62public 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)
608object 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)
103public object GetData(Type format) => throw new NotImplementedException();
System\Windows\Forms\ToolStripItemTests.cs (1)
10242public object GetData(Type format) => throw new NotImplementedException();
8 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)
109public object? 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 (2)
System\Windows\Forms\ClipboardTests.cs (1)
266dataObject.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 = (Button?)e.Data?.GetData(typeof(Button)); 828object? item = e.Data.GetData(typeof(string));