DropZoneBase
Class
Definition
Namespace:Telerik.Blazor.Components.Common.Dropzones
Assembly:Telerik.Blazor.dll
Syntax:
C#
public abstract class DropZoneBase : BaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentDropZoneBase
Derived Classes:
Implements:
Inherited Members
Constructors
C#
protected DropZoneBase()
Methods
C#
public override void Dispose()
Overrides:
Properties
The class that will be rendered on the drop zone. when a file is dragged over it. Use this class to conditionally style the component during dragover.
C#
[Parameter]
public string DragOverClass { get; set; }
Specifies whether the drop zone is enabled. Default value is true.
C#
[Parameter]
public bool Enabled { get; set; }
The id of the drop zone. Assign the same value to the DropZoneId of the corresponding TelerikUpload and/or TelerikFileSelect component.
C#
[Parameter]
public string Id { get; set; }
Specifies whether the drop zone allows multiple files drop.
C#
[Parameter]
public bool Multiple { get; set; }
The content rendered inside the drop zone. Passing a fragment will completely replace the content inside the drop zone.
C#
[Parameter]
public RenderFragment Template { get; set; }