Click or drag to resize

XYPlotLayerContentsControllerPlotItems_DragDropHandlerDropCanAcceptData Method

Evaluates whether a drop operation can accept the data.

Namespace: Altaxo.Gui.Graph.Gdi.Plot
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public 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