Skip to content

DraggableContext ​

Namespace: Hex1b

Assembly: Hex1b.dll

A context for building the child tree of a . Provides access to the current drag state from the underlying node.

csharp
public sealed class DraggableContext : WidgetContext<DraggableWidget>

Inheritance ​

Object → WidgetContext<DraggableWidget> → DraggableContext

Properties ​

DragData ​

The reference data associated with this draggable item.

Returns: Object

csharp
public object DragData { get; }

IsDragging ​

Whether this draggable source is currently being dragged.

Returns: Boolean

csharp
public bool IsDragging { get; }

IsHovered ​

Whether the mouse is currently hovering over this draggable item.

Returns: Boolean

csharp
public bool IsHovered { get; }

Released under the MIT License.