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