1 implementation of GetDataPresent
PresentationCore (1)
System\Windows\dataobject.cs (1)
206public bool GetDataPresent(string format) => GetDataPresent(format, autoConvert: true);
21 references to GetDataPresent
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
Interactive\InteractivePasteCommandHandler.cs (2)
96var dataHasLineCutCopyTag = data.GetDataPresent(ClipboardLineBasedCutCopyTag); 97var dataHasBoxCutCopyTag = data.GetDataPresent(BoxSelectionCutCopyTag);
PresentationCore (4)
System\Windows\DataObjectPastingEventArgs.cs (2)
58if (!dataObject.GetDataPresent(formatToApply)) 155if (!_dataObject.GetDataPresent(value))
System\Windows\DragDrop.cs (1)
1413if (dataObject.GetDataPresent(formats[i]))
System\Windows\Ole\DataObjectAdapter.cs (1)
25public bool GetDataPresent(string format) => DataObject.GetDataPresent(format);
PresentationFramework (15)
System\windows\Documents\TextEditorCopyPaste.cs (15)
232if (This.AcceptsRichContent && dataObject.GetDataPresent(DataFormats.XamlPackage)) 236else if (This.AcceptsRichContent && dataObject.GetDataPresent(DataFormats.Xaml)) 240else if (This.AcceptsRichContent && dataObject.GetDataPresent(DataFormats.Rtf)) 244else if (dataObject.GetDataPresent(DataFormats.UnicodeText)) 248else if (dataObject.GetDataPresent(DataFormats.Text)) 721if (dataObjectToApply.GetDataPresent(DataFormats.Xaml)) 725else if (dataObjectToApply.GetDataPresent(DataFormats.Rtf)) 729else if (dataObjectToApply.GetDataPresent(DataFormats.UnicodeText)) 733else if (dataObjectToApply.GetDataPresent(DataFormats.Text)) 753if (dataObjectToApply.GetDataPresent(DataFormats.Rtf)) 757else if (dataObjectToApply.GetDataPresent(DataFormats.UnicodeText)) 761else if (dataObjectToApply.GetDataPresent(DataFormats.Text)) 794if (dataObjectToApply.GetDataPresent(DataFormats.UnicodeText)) 798else if (dataObjectToApply.GetDataPresent(DataFormats.Text)) 809if (dataObjectToApply.GetDataPresent(DataFormats.Text))