3 implementations of GetDataPresent
PresentationCore (3)
System\Windows\dataobject.cs (3)
255
public bool
GetDataPresent
(string format)
2448
public bool
GetDataPresent
(string format)
3365
public bool
GetDataPresent
(string format)
20 references to GetDataPresent
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
Interactive\InteractivePasteCommandHandler.cs (2)
96
var dataHasLineCutCopyTag = data.
GetDataPresent
(ClipboardLineBasedCutCopyTag);
97
var dataHasBoxCutCopyTag = data.
GetDataPresent
(BoxSelectionCutCopyTag);
PresentationCore (3)
System\Windows\DataObjectPastingEventArgs.cs (2)
68
if (!dataObject.
GetDataPresent
(formatToApply))
165
if (!_dataObject.
GetDataPresent
(value))
System\Windows\DragDrop.cs (1)
1421
if (dataObject.
GetDataPresent
(formats[i]))
PresentationFramework (15)
System\windows\Documents\TextEditorCopyPaste.cs (15)
246
if (This.AcceptsRichContent && dataObject.
GetDataPresent
(DataFormats.XamlPackage))
250
else if (This.AcceptsRichContent && dataObject.
GetDataPresent
(DataFormats.Xaml))
254
else if (This.AcceptsRichContent && dataObject.
GetDataPresent
(DataFormats.Rtf))
258
else if (dataObject.
GetDataPresent
(DataFormats.UnicodeText))
262
else if (dataObject.
GetDataPresent
(DataFormats.Text))
733
if (dataObjectToApply.
GetDataPresent
(DataFormats.Xaml))
737
else if (dataObjectToApply.
GetDataPresent
(DataFormats.Rtf))
741
else if (dataObjectToApply.
GetDataPresent
(DataFormats.UnicodeText))
745
else if (dataObjectToApply.
GetDataPresent
(DataFormats.Text))
765
if (dataObjectToApply.
GetDataPresent
(DataFormats.Rtf))
769
else if (dataObjectToApply.
GetDataPresent
(DataFormats.UnicodeText))
773
else if (dataObjectToApply.
GetDataPresent
(DataFormats.Text))
806
if (dataObjectToApply.
GetDataPresent
(DataFormats.UnicodeText))
810
else if (dataObjectToApply.
GetDataPresent
(DataFormats.Text))
821
if (dataObjectToApply.
GetDataPresent
(DataFormats.Text))