Invoked when an element is dropped

Namespace: Composite.C1Console.Elements.Plugins.ElementProvider
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
bool OnElementDraggedAndDropped(
	EntityToken draggedEntityToken,
	EntityToken newParentEntityToken,
	int dropIndex,
	DragAndDropType dragAndDropType,
	FlowControllerServicesContainer draggedElementFlowControllerServicesContainer
)
Visual Basic
Function OnElementDraggedAndDropped ( _
	draggedEntityToken As EntityToken, _
	newParentEntityToken As EntityToken, _
	dropIndex As Integer, _
	dragAndDropType As DragAndDropType, _
	draggedElementFlowControllerServicesContainer As FlowControllerServicesContainer _
) As Boolean
Visual C++
bool OnElementDraggedAndDropped(
	EntityToken^ draggedEntityToken, 
	EntityToken^ newParentEntityToken, 
	int dropIndex, 
	DragAndDropType dragAndDropType, 
	FlowControllerServicesContainer^ draggedElementFlowControllerServicesContainer
)

Parameters

draggedEntityToken
Type: Composite.C1Console.Security..::..EntityToken
The EntityToken of the element being dragged
newParentEntityToken
Type: Composite.C1Console.Security..::..EntityToken
The EntityToken of the element receiving the dragged item
dropIndex
Type: System..::..Int32
The index (position) the element was dropped
dragAndDropType
Type: Composite.C1Console.Elements.Plugins.ElementProvider..::..DragAndDropType
The type identifying the drang and drop action
draggedElementFlowControllerServicesContainer
Type: FlowControllerServicesContainer
handle that let you communicate to client via services (like popping a dialog)

Return Value

True is action completed as expected and tree should be updated on the client

See Also