3 implementations of GetDataPresent
PresentationCore (3)
System\Windows\dataobject.cs (3)
255public bool GetDataPresent(string format) 2448public bool GetDataPresent(string format) 3365public 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)
68if (!dataObject.GetDataPresent(formatToApply)) 165if (!_dataObject.GetDataPresent(value))
System\Windows\DragDrop.cs (1)
1421if (dataObject.GetDataPresent(formats[i]))
PresentationFramework (15)
System\windows\Documents\TextEditorCopyPaste.cs (15)
246if (This.AcceptsRichContent && dataObject.GetDataPresent(DataFormats.XamlPackage)) 250else if (This.AcceptsRichContent && dataObject.GetDataPresent(DataFormats.Xaml)) 254else if (This.AcceptsRichContent && dataObject.GetDataPresent(DataFormats.Rtf)) 258else if (dataObject.GetDataPresent(DataFormats.UnicodeText)) 262else if (dataObject.GetDataPresent(DataFormats.Text)) 733if (dataObjectToApply.GetDataPresent(DataFormats.Xaml)) 737else if (dataObjectToApply.GetDataPresent(DataFormats.Rtf)) 741else if (dataObjectToApply.GetDataPresent(DataFormats.UnicodeText)) 745else if (dataObjectToApply.GetDataPresent(DataFormats.Text)) 765if (dataObjectToApply.GetDataPresent(DataFormats.Rtf)) 769else if (dataObjectToApply.GetDataPresent(DataFormats.UnicodeText)) 773else if (dataObjectToApply.GetDataPresent(DataFormats.Text)) 806if (dataObjectToApply.GetDataPresent(DataFormats.UnicodeText)) 810else if (dataObjectToApply.GetDataPresent(DataFormats.Text)) 821if (dataObjectToApply.GetDataPresent(DataFormats.Text))