Class RadzenDropZoneContainer<TItem>
RadzenDropZoneContainer component.
Inheritance
Implements
Inherited Members
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenDropZoneContainer<TItem> : RadzenComponentWithChildren, IDisposable
Type Parameters
Name | Description |
---|---|
TItem |
Properties
CanDrop
Gets or sets the function that checks if the item can be dropped in specific zone or item.
Declaration
public Func<RadzenDropZoneItemEventArgs<TItem>, bool> CanDrop { get; set; }
Property Value
Type | Description |
---|---|
Func<RadzenDropZoneItemEventArgs<TItem>, System.Boolean> | The function that checks if the item can be dropped in specific zone. |
Data
Gets or sets the data.
Declaration
public IEnumerable<TItem> Data { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<TItem> | The data. |
Drop
The event callback raised on item drop.
Declaration
public EventCallback<RadzenDropZoneItemEventArgs<TItem>> Drop { get; set; }
Property Value
Type | Description |
---|---|
EventCallback<RadzenDropZoneItemEventArgs<TItem>> | The event callback raised on item drop. |
ItemRender
Gets or sets the row render callback. Use it to set row attributes.
Declaration
public Action<RadzenDropZoneItemRenderEventArgs<TItem>> ItemRender { get; set; }
Property Value
Type | Description |
---|---|
Action<RadzenDropZoneItemRenderEventArgs<TItem>> | The row render callback. |
ItemSelector
Gets or sets the selector function for zone items.
Declaration
public Func<TItem, RadzenDropZone<TItem>, bool> ItemSelector { get; set; }
Property Value
Type | Description |
---|---|
Func<TItem, RadzenDropZone<TItem>, System.Boolean> | The selector function for zone items. |
Template
Gets or sets the template for zone items.
Declaration
public RenderFragment<TItem> Template { get; set; }
Property Value
Type | Description |
---|---|
RenderFragment<TItem> | The template for zone items. |
Methods
GetComponentCssClass()
Gets the component CSS class.
Declaration
protected override string GetComponentCssClass()
Returns
Type | Description |
---|---|
System.String |