StyleListControllerTManager, TList, TItemAvailableItems_DragDropHandlerDropCanAcceptData Method |
Evaluates whether a drop operation can accept the data.
Namespace: Altaxo.Gui.DrawingAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic void DropCanAcceptData(
Object data,
Object targetItem,
DragDropRelativeInsertPosition insertPosition,
bool isCtrlKeyPressed,
bool isShiftKeyPressed,
out bool canCopy,
out bool canMove,
out bool itemIsSwallowingData
)
Parameters
- data Object
- The data to drop.
- targetItem Object
- The target item. This is the MVVM item that corresponds to the item in the Gui.
- insertPosition DragDropRelativeInsertPosition
- The insert position.
- isCtrlKeyPressed Boolean
- If set to , the Control key is pressed.
- isShiftKeyPressed Boolean
- If set to , the Shift key is pressed.
- canCopy Boolean
- Set to if copying is allowed.
- canMove Boolean
- Set to if moving is allowed.
- itemIsSwallowingData Boolean
- Set to if the target item consumes the dropped data.
Implements
IMVVMDropHandlerDropCanAcceptData(Object, Object, DragDropRelativeInsertPosition, Boolean, Boolean, Boolean, Boolean, Boolean)
See Also