3 implementations of GetDataPresent
PresentationCore (3)
System\Windows\dataobject.cs (3)
246public bool GetDataPresent(string format) 2433public bool GetDataPresent(string format) 3336public bool GetDataPresent(string format)
20 references to GetDataPresent
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
Interactive\InteractivePasteCommandHandler.cs (2)
96var dataHasLineCutCopyTag = data.GetDataPresent(ClipboardLineBasedCutCopyTag); 97var dataHasBoxCutCopyTag = data.GetDataPresent(BoxSelectionCutCopyTag);
PresentationCore (3)
System\Windows\DataObjectPastingEventArgs.cs (2)
59if (!dataObject.GetDataPresent(formatToApply)) 156if (!_dataObject.GetDataPresent(value))
System\Windows\DragDrop.cs (1)
1414if (dataObject.GetDataPresent(formats[i]))
PresentationFramework (15)
System\windows\Documents\TextEditorCopyPaste.cs (15)
233if (This.AcceptsRichContent && dataObject.GetDataPresent(DataFormats.XamlPackage)) 237else if (This.AcceptsRichContent && dataObject.GetDataPresent(DataFormats.Xaml)) 241else if (This.AcceptsRichContent && dataObject.GetDataPresent(DataFormats.Rtf)) 245else if (dataObject.GetDataPresent(DataFormats.UnicodeText)) 249else if (dataObject.GetDataPresent(DataFormats.Text)) 720if (dataObjectToApply.GetDataPresent(DataFormats.Xaml)) 724else if (dataObjectToApply.GetDataPresent(DataFormats.Rtf)) 728else if (dataObjectToApply.GetDataPresent(DataFormats.UnicodeText)) 732else if (dataObjectToApply.GetDataPresent(DataFormats.Text)) 752if (dataObjectToApply.GetDataPresent(DataFormats.Rtf)) 756else if (dataObjectToApply.GetDataPresent(DataFormats.UnicodeText)) 760else if (dataObjectToApply.GetDataPresent(DataFormats.Text)) 793if (dataObjectToApply.GetDataPresent(DataFormats.UnicodeText)) 797else if (dataObjectToApply.GetDataPresent(DataFormats.Text)) 808if (dataObjectToApply.GetDataPresent(DataFormats.Text))