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