Class DropZoneBase
Inherited Members
Namespace: Telerik.Blazor.Components.Common.Dropzones
Assembly: Telerik.Blazor.dll
Syntax
public abstract class DropZoneBase : BaseComponent, IDisposable
Constructors
DropZoneBase()
Declaration
protected DropZoneBase()
Properties
DragOverClass
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.
Declaration
public string DragOverClass { get; set; }
Property Value
System.String
|
Enabled
Specifies whether the drop zone is enabled. Default value is true.
Declaration
public bool Enabled { get; set; }
Property Value
System.Boolean
|
Height
Defines the height of the drop zone.
Declaration
public string Height { get; set; }
Property Value
System.String
|
Id
The id of the drop zone. Assign the same value to the DropZoneId of the corresponding TelerikUpload and/or TelerikFileSelect component.
Declaration
public string Id { get; set; }
Property Value
System.String
|
Multiple
Specifies whether the drop zone allows multiple files drop.
Declaration
public bool Multiple { get; set; }
Property Value
System.Boolean
|
Template
The content rendered inside the drop zone. Passing a fragment will completely replace the content inside the drop zone.
Declaration
public RenderFragment Template { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
Width
Defines the width of the drop zone.
Declaration
public string Width { get; set; }
Property Value
System.String
|
Methods
Dispose()
OnAfterRenderAsync(Boolean)
Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
System.Boolean
firstRender
|
Returns
System.Threading.Tasks.Task
|