3 implementations of GetDataPresent
PresentationCore (3)
System\Windows\dataobject.cs (3)
242public bool GetDataPresent(string format) 2407public bool GetDataPresent(string format) 3314public 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)) 722if (dataObjectToApply.GetDataPresent(DataFormats.Xaml)) 726else if (dataObjectToApply.GetDataPresent(DataFormats.Rtf)) 730else if (dataObjectToApply.GetDataPresent(DataFormats.UnicodeText)) 734else if (dataObjectToApply.GetDataPresent(DataFormats.Text)) 754if (dataObjectToApply.GetDataPresent(DataFormats.Rtf)) 758else if (dataObjectToApply.GetDataPresent(DataFormats.UnicodeText)) 762else if (dataObjectToApply.GetDataPresent(DataFormats.Text)) 795if (dataObjectToApply.GetDataPresent(DataFormats.UnicodeText)) 799else if (dataObjectToApply.GetDataPresent(DataFormats.Text)) 810if (dataObjectToApply.GetDataPresent(DataFormats.Text))