Skip to content

UIDropTarget.AcceptsPayload Property

Definition

Namespace: Brine2D.UI

Optional predicate called by the canvas to decide whether this target accepts a given payload type. Return true to accept. Defaults to accepting all payloads when not set.

C#
public System.Func<Brine2D.UI.IDragPayload,bool>? AcceptsPayload { get; set; }

Property Value

System.Func<IDragPayload,System.Boolean>