4 implementations of GetDataPresent
PresentationCore (4)
Core\CSharp\MS\Internal\ConstrainedDataObject.cs (1)
168
public bool
GetDataPresent
(string format)
Core\CSharp\System\Windows\DataObject.cs (3)
333
public bool
GetDataPresent
(string format)
2794
public bool
GetDataPresent
(string format)
3803
public bool
GetDataPresent
(string format)
27 references to GetDataPresent
PresentationCore (3)
Core\CSharp\System\Windows\DataObjectPastingEventArgs.cs (2)
76
if (!dataObject.
GetDataPresent
(formatToApply))
179
if (!_dataObject.
GetDataPresent
(value))
Core\CSharp\System\Windows\DragDrop.cs (1)
1459
if (dataObject.
GetDataPresent
(formats[i]))
PresentationFramework (15)
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (15)
305
if (This.AcceptsRichContent && hasUnmanagedCodePermission && dataObject.
GetDataPresent
(DataFormats.XamlPackage))
309
else if (This.AcceptsRichContent && dataObject.
GetDataPresent
(DataFormats.Xaml))
313
else if (This.AcceptsRichContent && hasUnmanagedCodePermission && dataObject.
GetDataPresent
(DataFormats.Rtf))
317
else if (dataObject.
GetDataPresent
(DataFormats.UnicodeText))
321
else if (dataObject.
GetDataPresent
(DataFormats.Text))
904
if (dataObjectToApply.
GetDataPresent
(DataFormats.Xaml))
908
else if (SecurityHelper.CheckUnmanagedCodePermission() && dataObjectToApply.
GetDataPresent
(DataFormats.Rtf))
912
else if (dataObjectToApply.
GetDataPresent
(DataFormats.UnicodeText))
916
else if (dataObjectToApply.
GetDataPresent
(DataFormats.Text))
936
if (SecurityHelper.CheckUnmanagedCodePermission() && dataObjectToApply.
GetDataPresent
(DataFormats.Rtf))
940
else if (dataObjectToApply.
GetDataPresent
(DataFormats.UnicodeText))
944
else if (dataObjectToApply.
GetDataPresent
(DataFormats.Text))
977
if (dataObjectToApply.
GetDataPresent
(DataFormats.UnicodeText))
981
else if (dataObjectToApply.
GetDataPresent
(DataFormats.Text))
992
if (dataObjectToApply.
GetDataPresent
(DataFormats.Text))
System.Activities.Presentation (9)
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (9)
282
if (draggedDataObject.
GetDataPresent
(ModelItemsDataFormat))
293
else if (draggedDataObject.
GetDataPresent
(ModelItemDataFormat))
303
if (draggedDataObject.
GetDataPresent
(WorkflowItemTypeNameFormat))
319
return e.Data.
GetDataPresent
(WorkflowItemTypeNameFormat);
325
if (e.Data.
GetDataPresent
(ModelItemsDataFormat))
340
if (e.Data.
GetDataPresent
(WorkflowItemTypeNameFormat))
649
if (e.Data.
GetDataPresent
(DragAnchorPointFormat))
771
if (e.Data.
GetDataPresent
(ModelItemsDataFormat))
785
else if (e.Data.
GetDataPresent
(ModelItemDataFormat))