Properties
Name | Type | Default | Description |
---|---|---|---|
Behavior | |||
AllowReorder |
bool |
False | |
OnlyZone |
bool |
False | If true, will only act as a droppable zone and not render any items. |
Items | |||
ItemRenderer |
RenderFragment<T> |
null | The render fragment (template) that should be used to render the items within a drop zone. Overrides value provided by drop container |
ItemsClassSelector |
Func<T, string> |
null | The method is used to determinate item class to be rendered in a drop zone. |
ItemsSelector |
Func<T, bool> |
null | The method is used to determinate if an item can be dropped within a drop zone. Overrides value provided by drop container |
Disable | |||
DisabledClass |
string |
null | If a drop item is disabled (determinate by MudDropZone.ItemIsDisabled). This class is applied to the element. Overrides value provided by drop container |
ItemIsDisabled |
Func<T, bool> |
null | The method is used to determinate if an item should be disabled for dragging. Defaults to allow all items. Overrides value provided by drop container |
DraggingClass | |||
DraggingClass |
string |
null | An additional class that is applied to the drop zone where a drag operation started |
ItemDraggingClass |
string |
null | An additional class that is applied to an drop item, when it is dragged |
DropRules | |||
ApplyDropClassesOnDragStarted |
bool? |
null | If true, drop classes CanDropClass MudDropZone.CanDropClass or NoDropClass MudDropZone.NoDropClass or applied as soon, as a transaction has started. Overrides value provided by drop container |
CanDrop |
Func<T, bool> |
null | The method is used to determinate if an item can be dropped within a drop zone. Overrides value provided by drop container |
CanDropClass |
string |
null | The CSS class(es), that is applied to drop zones that are a valid target for drag and drop transaction. Overrides value provided by drop container |
NoDropClass |
string |
null | The CSS class(es), that is applied to drop zones that are NOT valid target for drag and drop transaction. Overrides value provided by drop container |
Appearance | |||
ChildContent |
RenderFragment |
null | Child content of component |
Identifier |
string |
The unique identifier of this drop zone. It is used within transaction to | |
Common | |||
Class |
string |
null | User class names, separated by space. |
Style |
string |
null | User styles, applied on top of the component's own classes and styles. |
Tag |
object |
null | Use Tag to attach any user data object to the component for your convenience. |
UserAttributes |
Dictionary<string, object> |
UserAttributes carries all attributes you add to the component that don't match any of its parameters. They will be splatted onto the underlying HTML tag. | |
Methods
Name | Parameters | Return | Description |
---|---|---|---|
Dispose() |