14 implementations of GetData
ComDisabled.Tests (1)
DataObjectComTests.cs (1)
76public object GetData(Type format) => throw new NotImplementedException();
System.Windows.Forms (4)
System\Windows\Forms\OLE\DataObject.Composition.cs (1)
88public object? GetData(Type format) => _winFormsDataObject.GetData(format);
System\Windows\Forms\OLE\DataObject.Composition.NativeToWinFormsAdapter.cs (1)
554public object? GetData(Type format) => GetData(format.FullName!);
System\Windows\Forms\OLE\DataObject.cs (1)
243public virtual object? GetData(Type format) => format is null ? null : GetData(format.FullName!);
System\Windows\Forms\OLE\DataObject.DataStore.cs (1)
83public 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 (8)
System\Windows\Forms\ClipboardTests.cs (2)
630object IDataObject.GetData(Type format) => null!; 1138public object GetData(Type format) => throw new NotImplementedException();
System\Windows\Forms\DataObjectComTests.cs (1)
55public object GetData(Type format) => throw new NotImplementedException();
System\Windows\Forms\DataObjectExtensionsTests.cs (2)
164public object? GetData(Type format) 185public object? GetData(Type format) => throw new NotImplementedException();
System\Windows\Forms\DataObjectTests.cs (1)
2679public 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();
7 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)
88public 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 (1)
System\Windows\Forms\DataObjectTests.cs (1)
2763outData.GetData(typeof(string)).Should().Be(testString);
System.Windows.Forms.UI.IntegrationTests (2)
DragDropTests.cs (2)
82data = (Button?)e.Data?.GetData(typeof(Button)); 887object? item = e.Data.GetData(typeof(string));