public static void RemoveCanDragItemHandler(DependencyObject obj, CanDragItemEventHandler handler) { var uie = obj as UIElement; if (uie != null) { uie.RemoveHandler(CanDragItemEvent, handler); } }
public static void RemoveCanDragItemHandler(DependencyObject obj, CanDragItemEventHandler handler) { var uie = obj as UIElement; if (uie != null) uie.RemoveHandler(CanDragItemEvent, handler); }