New to Telerik UI for BlazorStart a free 30-day trial

Provides the context for the FileTemplate, encapsulating information about a specific file.

Definition

Namespace:Telerik.Blazor.Components.Common.Upload

Assembly:Telerik.Blazor.dll

Type Parameters:

TFileInfo

Syntax:

C#
public class FileTemplateContextBase<TFileInfo> where TFileInfo : FileInfoBase

Inheritance: objectFileTemplateContextBase<TFileInfo>

Derived Classes: FileSelectFileTemplateContextUploadFileTemplateContext

Constructors

C#
public FileTemplateContextBase()

Properties

File

TFileInfo

The file information associated with the current instance being rendered.

C#
public TFileInfo File { get; set; }