Example #1
0
 public CanParentArgs(Type draggedControlType, Control childControl, DragOperationType dragOperationType)
 {
     ChildControlType  = draggedControlType;
     DragOperationType = dragOperationType;
     ChildControl      = childControl;
 }
Example #2
0
 public DragDataWrapper(object data, DragOperationType type, Point dragStartPosition)
     : this(data, type)
 {
     DragStartPosition = dragStartPosition;
 }
Example #3
0
 public DragDataWrapper(object data, DragOperationType type)
     : this(data)
 {
     Type = type;
 }
Example #4
0
 /// <summary>
 /// can parent control
 /// </summary>
 /// <param name="type"></param>
 /// <param name="childControl"></param>
 /// <param name="dragOperationType">drop or move</param>
 /// <returns></returns>
 public bool CanParent(Type type, Control childControl, DragOperationType dragOperationType)
 {
     return(CanParent(new CanParentArgs(type, childControl, dragOperationType)));
 }
Example #5
0
 public DragDataWrapper(object data, DragOperationType type, Point dragStartPosition)
     : this(data, type)
 {
     DragStartPosition = dragStartPosition;
 }
Example #6
0
 public DragDataWrapper(object data, DragOperationType type)
     : this(data) {
     Type = type;
 }