Flare.Components.FlareDropZone
| Name | Type | Default | Kind | Required | Description |
|---|---|---|---|---|---|
Accepts |
Func<object?, bool>? |
`` | Parameter | Whether this zone accepts a given payload. Evaluated once when a drag starts, so a zone that says no never lights up and never takes a drop. Use it for what only the caller knows - a tree node cannot be dropped into its own descendant, a column is full, a card is locked. | |
ChildContent |
RenderFragment? |
`` | Parameter | The zone's content, normally the FlareDraggable items it holds. | |
Group |
string? |
`` | Parameter | Which drags this zone takes part in. Defaults to the enclosing context's group. | |
Placement |
DropPlacement |
DropPlacement.Into |
Parameter | What the zone accepts, and therefore what a drop into it resolves to. | |
Target |
string |
"" |
Parameter | Identifies this zone in OnDrop. A column id, a folder key, a list name - whatever the caller needs back to perform the move. | |
AdditionalAttributes |
IReadOnlyDictionary<string, object>? |
`` | Parameter | Additional attributes. Inherited from FlareComponentBase. |
|
Class |
string? |
`` | Parameter | Additional CSS class(es) appended to the component's root element. Inherited from FlareComponentBase. |
|
Style |
string? |
`` | Parameter | Inline style string appended to the component's root element. Inherited from FlareComponentBase. |
Removes this zone from its drag context.
Returns: ValueTask.
FlareComponentBaseComponentBaseobject