Click or drag to resize

IMVVMDropHandlerDropCanAcceptData Method

Evaluate of a drop operation can accept the data.

Namespace: Altaxo.Gui.Common
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
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 true [is control key pressed].
isShiftKeyPressed  Boolean
if set to true [is shift key pressed].
canCopy  Boolean
if set to true [can copy].
canMove  Boolean
if set to true [can move].
itemIsSwallowingData  Boolean
if set to true [item is swallowing data].
See Also