Skip to content

DropTargetContext

Namespace: Hex1b

Assembly: Hex1b.dll

A context for building the child of a . Provides access to the current activation state.

csharp
public sealed class DropTargetContext : WidgetContext<DropTargetWidget>

Inheritance

Object → WidgetContext<DropTargetWidget> → DropTargetContext

Properties

DragData

The drag data of the item currently being dragged. Null if no drag is active.

Returns: Object

csharp
public object? DragData { get; }

IsActive

Whether this drop target is currently the nearest to the drag cursor.

Returns: Boolean

csharp
public bool IsActive { get; }

Released under the MIT License.