3 implementations of GetDataPresent
PresentationCore (3)
System\Windows\dataobject.cs (3)
242
public bool
GetDataPresent
(string format)
2407
public bool
GetDataPresent
(string format)
3314
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)
59
if (!dataObject.
GetDataPresent
(formatToApply))
156
if (!_dataObject.
GetDataPresent
(value))
System\Windows\DragDrop.cs (1)
1414
if (dataObject.
GetDataPresent
(formats[i]))
PresentationFramework (15)
System\windows\Documents\TextEditorCopyPaste.cs (15)
233
if (This.AcceptsRichContent && dataObject.
GetDataPresent
(DataFormats.XamlPackage))
237
else if (This.AcceptsRichContent && dataObject.
GetDataPresent
(DataFormats.Xaml))
241
else if (This.AcceptsRichContent && dataObject.
GetDataPresent
(DataFormats.Rtf))
245
else if (dataObject.
GetDataPresent
(DataFormats.UnicodeText))
249
else if (dataObject.
GetDataPresent
(DataFormats.Text))
722
if (dataObjectToApply.
GetDataPresent
(DataFormats.Xaml))
726
else if (dataObjectToApply.
GetDataPresent
(DataFormats.Rtf))
730
else if (dataObjectToApply.
GetDataPresent
(DataFormats.UnicodeText))
734
else if (dataObjectToApply.
GetDataPresent
(DataFormats.Text))
754
if (dataObjectToApply.
GetDataPresent
(DataFormats.Rtf))
758
else if (dataObjectToApply.
GetDataPresent
(DataFormats.UnicodeText))
762
else if (dataObjectToApply.
GetDataPresent
(DataFormats.Text))
795
if (dataObjectToApply.
GetDataPresent
(DataFormats.UnicodeText))
799
else if (dataObjectToApply.
GetDataPresent
(DataFormats.Text))
810
if (dataObjectToApply.
GetDataPresent
(DataFormats.Text))