3 implementations of GetDataPresent
PresentationCore (3)
System\Windows\dataobject.cs (3)
246
public bool
GetDataPresent
(string format)
2433
public bool
GetDataPresent
(string format)
3336
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))
720
if (dataObjectToApply.
GetDataPresent
(DataFormats.Xaml))
724
else if (dataObjectToApply.
GetDataPresent
(DataFormats.Rtf))
728
else if (dataObjectToApply.
GetDataPresent
(DataFormats.UnicodeText))
732
else if (dataObjectToApply.
GetDataPresent
(DataFormats.Text))
752
if (dataObjectToApply.
GetDataPresent
(DataFormats.Rtf))
756
else if (dataObjectToApply.
GetDataPresent
(DataFormats.UnicodeText))
760
else if (dataObjectToApply.
GetDataPresent
(DataFormats.Text))
793
if (dataObjectToApply.
GetDataPresent
(DataFormats.UnicodeText))
797
else if (dataObjectToApply.
GetDataPresent
(DataFormats.Text))
808
if (dataObjectToApply.
GetDataPresent
(DataFormats.Text))