/// <summary> /// Determines whether the given element is ignored on drag start (<see cref="DragDrop.DragSourceIgnore"/>). /// </summary> /// <param name="element">The given element.</param> /// <returns>Element is ignored or not.</returns> public static bool IsDragSourceIgnored(this UIElement element) { return(element != null && DragDrop.GetDragSourceIgnore(element)); }