3 implementations of IDataObject
PresentationCore (3)
System\Windows\dataobject.cs (3)
37public sealed class DataObject : IDataObject, IComDataObject 2390private class OleConverter : IDataObject 3297private class DataStore : IDataObject
68 references to IDataObject
Microsoft.CodeAnalysis.EditorFeatures.Wpf (3)
Interactive\InteractivePasteCommandHandler.cs (3)
93var data = RoslynClipboard.GetDataObject(); 161IDataObject GetDataObject(); 174public IDataObject GetDataObject()
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
InteractivePaste\InteractivePasteCommandHandlerTests.vb (1)
277Public Function GetDataObject() As IDataObject Implements InteractivePasteCommandHandler.IRoslynClipboard.GetDataObject
PresentationCore (31)
System\Windows\clipboard.cs (8)
347public static IDataObject GetDataObject() 361public static bool IsCurrent(IDataObject data) 581private static IDataObject GetDataObjectInternal() 583IDataObject dataObject; 608if (oleDataObject is IDataObject && !Marshal.IsComObject(oleDataObject)) 610dataObject = (IDataObject)oleDataObject; 660IDataObject dataObject; 690IDataObject dataObject;
System\Windows\dataobject.cs (4)
63IDataObject dataObject = data as IDataObject; 138internal DataObject(System.Windows.IDataObject data) 2230private System.Windows.IDataObject _innerData;
System\Windows\DataObjectCopyingEventArgs.cs (3)
46public DataObjectCopyingEventArgs(IDataObject dataObject, bool isDragDrop) // 68public IDataObject DataObject 108private IDataObject _dataObject;
System\Windows\DataObjectPastingEventArgs.cs (5)
47public DataObjectPastingEventArgs(IDataObject dataObject, bool isDragDrop, string formatToApply) // 96public IDataObject SourceDataObject 113public IDataObject DataObject 200private IDataObject _originalDataObject; 202private IDataObject _dataObject;
System\Windows\DataObjectSettingDataEventArgs.cs (3)
40public DataObjectSettingDataEventArgs(IDataObject dataObject, string format) // 64public IDataObject DataObject 112private IDataObject _dataObject;
System\Windows\DragDrop.cs (5)
1076IDataObject dataObject; 1375private IDataObject GetDataObject(object data) 1377IDataObject dataObject; 1400private bool IsDataAvailable(IDataObject dataObject) 1437private IDataObject _dataObject;
System\Windows\DragEventArgs.cs (3)
41internal DragEventArgs(IDataObject data, DragDropKeyStates dragDropKeyStates, DragDropEffects allowedEffects, DependencyObject target, Point point) 109public IDataObject Data 190private IDataObject _data;
PresentationCore.Tests (1)
BinaryFormat\DataObjectTests.cs (1)
28IDataObject ClipboardDataObject = Clipboard.GetDataObject();
PresentationFramework (32)
MS\Internal\Ink\ClipboardData.cs (5)
39internal bool CopyToDataObject(IDataObject dataObject) 56internal void PasteFromDataObject(IDataObject dataObject) 66internal abstract bool CanPaste(IDataObject dataObject); 80protected abstract void DoCopy(IDataObject dataObject); 81protected abstract void DoPaste(IDataObject dataObject);
MS\Internal\Ink\ClipboardProcessor.cs (4)
77internal bool CheckDataFormats(IDataObject dataObject) 99internal InkCanvasClipboardDataFormats CopySelectedData(IDataObject dataObject) 181internal bool PasteData(IDataObject dataObject, ref StrokeCollection newStrokes, ref List<UIElement> newElements) 315private bool CopySelectionInXAML(IDataObject dataObject, StrokeCollection strokes, List<UIElement> elements, Matrix transform, Size size)
MS\Internal\Ink\ISFClipboardData.cs (3)
40internal override bool CanPaste(IDataObject dataObject) 62protected override void DoCopy(IDataObject dataObject) 81protected override void DoPaste(IDataObject dataObject)
MS\Internal\Ink\TextClipboardData.cs (3)
38internal override bool CanPaste(IDataObject dataObject) 60protected override void DoCopy(IDataObject dataObject) 68protected override void DoPaste(IDataObject dataObject)
MS\Internal\Ink\XamlClipboardData.cs (3)
38internal override bool CanPaste(IDataObject dataObject) 68protected override void DoCopy(IDataObject dataObject) 87protected override void DoPaste(IDataObject dataObject)
System\Windows\Controls\InkCanvas.cs (3)
1841IDataObject dataObj = null; 2057IDataObject dataObj = null; 2078internal void PasteFromDataObject(IDataObject dataObj, Point point)
System\Windows\Documents\RubberbandSelector.cs (1)
158IDataObject dataObject;
System\windows\Documents\TextEditorCopyPaste.cs (8)
174internal static bool _DoPaste(TextEditor This, IDataObject dataObject, bool isDragDrop) 214IDataObject dataObjectToApply = dataObjectPastingEventArgs.DataObject; 226internal static string GetPasteApplyFormat(TextEditor This, IDataObject dataObject) 371IDataObject dataObject; 670private static bool PasteContentData(TextEditor This, IDataObject dataObject, IDataObject dataObjectToApply, string formatToApply) 838private static object GetPasteData(IDataObject dataObject, string dataFormat) 1002private static bool ConfirmDataFormatSetting(FrameworkElement uiScope, IDataObject dataObject, string format)
System\windows\Documents\TextEditorDragDrop.cs (2)
171IDataObject dataObject = TextEditorCopyPaste._CreateDataObject(_textEditor, /*isDragDrop:*/true); 209private void SourceDoDragDrop(ITextSelection selection, IDataObject dataObject)