4 implementations of GetDataPresent
PresentationCore (4)
Core\CSharp\MS\Internal\ConstrainedDataObject.cs (1)
168public bool GetDataPresent(string format)
Core\CSharp\System\Windows\DataObject.cs (3)
333public bool GetDataPresent(string format) 2794public bool GetDataPresent(string format) 3803public bool GetDataPresent(string format)
27 references to GetDataPresent
PresentationCore (3)
Core\CSharp\System\Windows\DataObjectPastingEventArgs.cs (2)
76if (!dataObject.GetDataPresent(formatToApply)) 179if (!_dataObject.GetDataPresent(value))
Core\CSharp\System\Windows\DragDrop.cs (1)
1459if (dataObject.GetDataPresent(formats[i]))
PresentationFramework (15)
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (15)
305if (This.AcceptsRichContent && hasUnmanagedCodePermission && dataObject.GetDataPresent(DataFormats.XamlPackage)) 309else if (This.AcceptsRichContent && dataObject.GetDataPresent(DataFormats.Xaml)) 313else if (This.AcceptsRichContent && hasUnmanagedCodePermission && dataObject.GetDataPresent(DataFormats.Rtf)) 317else if (dataObject.GetDataPresent(DataFormats.UnicodeText)) 321else if (dataObject.GetDataPresent(DataFormats.Text)) 904if (dataObjectToApply.GetDataPresent(DataFormats.Xaml)) 908else if (SecurityHelper.CheckUnmanagedCodePermission() && dataObjectToApply.GetDataPresent(DataFormats.Rtf)) 912else if (dataObjectToApply.GetDataPresent(DataFormats.UnicodeText)) 916else if (dataObjectToApply.GetDataPresent(DataFormats.Text)) 936if (SecurityHelper.CheckUnmanagedCodePermission() && dataObjectToApply.GetDataPresent(DataFormats.Rtf)) 940else if (dataObjectToApply.GetDataPresent(DataFormats.UnicodeText)) 944else if (dataObjectToApply.GetDataPresent(DataFormats.Text)) 977if (dataObjectToApply.GetDataPresent(DataFormats.UnicodeText)) 981else if (dataObjectToApply.GetDataPresent(DataFormats.Text)) 992if (dataObjectToApply.GetDataPresent(DataFormats.Text))
System.Activities.Presentation (9)
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (9)
282if (draggedDataObject.GetDataPresent(ModelItemsDataFormat)) 293else if (draggedDataObject.GetDataPresent(ModelItemDataFormat)) 303if (draggedDataObject.GetDataPresent(WorkflowItemTypeNameFormat)) 319return e.Data.GetDataPresent(WorkflowItemTypeNameFormat); 325if (e.Data.GetDataPresent(ModelItemsDataFormat)) 340if (e.Data.GetDataPresent(WorkflowItemTypeNameFormat)) 649if (e.Data.GetDataPresent(DragAnchorPointFormat)) 771if (e.Data.GetDataPresent(ModelItemsDataFormat)) 785else if (e.Data.GetDataPresent(ModelItemDataFormat))