3 implementations of IDataObject
PresentationCore (3)
System\Windows\dataobject.cs (3)
46public sealed class DataObject : IDataObject, IComDataObject 2405private class OleConverter : IDataObject 3326private 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)
355public static IDataObject GetDataObject() 369public static bool IsCurrent(IDataObject data) 589private static IDataObject GetDataObjectInternal() 591IDataObject dataObject; 616if (oleDataObject is IDataObject && !Marshal.IsComObject(oleDataObject)) 618dataObject = (IDataObject)oleDataObject; 668IDataObject dataObject; 698IDataObject dataObject;
System\Windows\dataobject.cs (4)
72IDataObject dataObject = data as IDataObject; 147internal DataObject(System.Windows.IDataObject data) 2245private System.Windows.IDataObject _innerData;
System\Windows\DataObjectCopyingEventArgs.cs (3)
48public DataObjectCopyingEventArgs(IDataObject dataObject, bool isDragDrop) // 70public IDataObject DataObject 110private IDataObject _dataObject;
System\Windows\DataObjectPastingEventArgs.cs (5)
56public DataObjectPastingEventArgs(IDataObject dataObject, bool isDragDrop, string formatToApply) // 105public IDataObject SourceDataObject 122public IDataObject DataObject 209private IDataObject _originalDataObject; 211private IDataObject _dataObject;
System\Windows\DataObjectSettingDataEventArgs.cs (3)
42public DataObjectSettingDataEventArgs(IDataObject dataObject, string format) // 66public IDataObject DataObject 114private IDataObject _dataObject;
System\Windows\DragDrop.cs (5)
1083IDataObject dataObject; 1382private IDataObject GetDataObject(object data) 1384IDataObject dataObject; 1407private bool IsDataAvailable(IDataObject dataObject) 1444private IDataObject _dataObject;
System\Windows\DragEventArgs.cs (3)
54internal DragEventArgs(IDataObject data, DragDropKeyStates dragDropKeyStates, DragDropEffects allowedEffects, DependencyObject target, Point point) 122public IDataObject Data 203private IDataObject _data;
PresentationCore.Tests (1)
BinaryFormat\DataObjectTests.cs (1)
28IDataObject ClipboardDataObject = Clipboard.GetDataObject();
PresentationFramework (32)
MS\Internal\Ink\ClipboardData.cs (5)
41internal bool CopyToDataObject(IDataObject dataObject) 58internal void PasteFromDataObject(IDataObject dataObject) 68internal abstract bool CanPaste(IDataObject dataObject); 82protected abstract void DoCopy(IDataObject dataObject); 83protected abstract void DoPaste(IDataObject dataObject);
MS\Internal\Ink\ClipboardProcessor.cs (4)
83internal bool CheckDataFormats(IDataObject dataObject) 105internal InkCanvasClipboardDataFormats CopySelectedData(IDataObject dataObject) 187internal bool PasteData(IDataObject dataObject, ref StrokeCollection newStrokes, ref List<UIElement> newElements) 321private bool CopySelectionInXAML(IDataObject dataObject, StrokeCollection strokes, List<UIElement> elements, Matrix transform, Size size)
MS\Internal\Ink\ISFClipboardData.cs (3)
43internal override bool CanPaste(IDataObject dataObject) 65protected override void DoCopy(IDataObject dataObject) 84protected override void DoPaste(IDataObject dataObject)
MS\Internal\Ink\TextClipboardData.cs (3)
43internal override bool CanPaste(IDataObject dataObject) 65protected override void DoCopy(IDataObject dataObject) 73protected override void DoPaste(IDataObject dataObject)
MS\Internal\Ink\XamlClipboardData.cs (3)
45internal override bool CanPaste(IDataObject dataObject) 75protected override void DoCopy(IDataObject dataObject) 94protected override void DoPaste(IDataObject dataObject)
System\Windows\Controls\InkCanvas.cs (3)
1853IDataObject dataObj = null; 2069IDataObject dataObj = null; 2090internal void PasteFromDataObject(IDataObject dataObj, Point point)
System\Windows\Documents\RubberbandSelector.cs (1)
168IDataObject dataObject;
System\windows\Documents\TextEditorCopyPaste.cs (8)
187internal static bool _DoPaste(TextEditor This, IDataObject dataObject, bool isDragDrop) 227IDataObject dataObjectToApply = dataObjectPastingEventArgs.DataObject; 239internal static string GetPasteApplyFormat(TextEditor This, IDataObject dataObject) 384IDataObject dataObject; 683private static bool PasteContentData(TextEditor This, IDataObject dataObject, IDataObject dataObjectToApply, string formatToApply) 851private static object GetPasteData(IDataObject dataObject, string dataFormat) 1015private static bool ConfirmDataFormatSetting(FrameworkElement uiScope, IDataObject dataObject, string format)
System\windows\Documents\TextEditorDragDrop.cs (2)
188IDataObject dataObject = TextEditorCopyPaste._CreateDataObject(_textEditor, /*isDragDrop:*/true); 226private void SourceDoDragDrop(ITextSelection selection, IDataObject dataObject)