Skip to content

DropTargetEventArgs ​

Namespace: Hex1b.Events

Assembly: Hex1b.dll

Event arguments for a drop on a specific within a . Contains the target ID identifying which insertion point received the drop.

csharp
public sealed class DropTargetEventArgs : WidgetEventArgs<DroppableWidget, DroppableNode>

Inheritance ​

Object → WidgetEventArgs → WidgetEventArgs<DroppableWidget, DroppableNode> → DropTargetEventArgs

Constructors ​

DropTargetEventArgs(DroppableWidget, DroppableNode, InputBindingActionContext, string, object, DraggableNode) ​

Parameters:

csharp
public DropTargetEventArgs(DroppableWidget widget, DroppableNode node, InputBindingActionContext context, string targetId, object dragData, DraggableNode source)

Properties ​

DragData ​

The reference data supplied by the draggable source.

Returns: Object

csharp
public object DragData { get; }

Source ​

The draggable node that initiated the drag.

Returns: DraggableNode

csharp
public DraggableNode Source { get; }

TargetId ​

The ID of the that received the drop.

Returns: String

csharp
public string TargetId { get; }

Released under the MIT License.