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