Class TelerikFileManager<TItem>
The class for the Telerik FileManager component.
Inherited Members
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class TelerikFileManager<TItem> : DataBoundComponent<TItem>, IDisposable, IFileManagerContainer
Type Parameters
TItem
|
Constructors
TelerikFileManager()
Declaration
public TelerikFileManager()
Properties
DateCreatedField
Defines the DateCreatedField that is used for obtaining the data from a file.
Declaration
public string DateCreatedField { get; set; }
Property Value
System.String
|
DateCreatedUtcField
Defines the DateCreatedUtcField that is used for obtaining the data from a file.
Declaration
public string DateCreatedUtcField { get; set; }
Property Value
System.String
|
DateModifiedField
Defines the DateModifiedField that is used for obtaining the data from a file.
Declaration
public string DateModifiedField { get; set; }
Property Value
System.String
|
DateModifiedUtcField
Defines the DateModifiedUtcField that is used for obtaining the data from a file.
Declaration
public string DateModifiedUtcField { get; set; }
Property Value
System.String
|
DialogFactory
DirectoriesField
Defines the DirectoriesField that is used for obtaining the data from a file.
Declaration
public string DirectoriesField { get; set; }
Property Value
System.String
|
EnableLoaderContainer
Defines whether the loading container should be shown when there are long-running operations.
Declaration
public bool EnableLoaderContainer { get; set; }
Property Value
System.Boolean
|
ExtensionField
Defines the ExtensionField that is used for obtaining the data from a file.
Declaration
public string ExtensionField { get; set; }
Property Value
System.String
|
FileManagerSettings
Defines the settings of the component.
Declaration
public RenderFragment FileManagerSettings { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
FileManagerToolBar
Defines the tools for the toolbar.
Declaration
public RenderFragment FileManagerToolBar { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
HasDirectoriesField
Defines the HasDirectoriesField that is used for obtaining the data from a file.
Declaration
public string HasDirectoriesField { get; set; }
Property Value
System.String
|
Height
Defines the height of the component.
Declaration
public string Height { get; set; }
Property Value
System.String
|
IdField
Defines the IdField that is used for obtaining the data from a file.
Declaration
public string IdField { get; set; }
Property Value
System.String
|
IsDirectoryField
Defines the IsDirectoryField that is used for obtaining the data from a file.
Declaration
public string IsDirectoryField { get; set; }
Property Value
System.String
|
ItemsField
Defines the ItemsField that is used for obtaining the data from a file.
Declaration
public string ItemsField { get; set; }
Property Value
System.String
|
NameField
Defines the NameField that is used for obtaining the data from a file.
Declaration
public string NameField { get; set; }
Property Value
System.String
|
OnCreate
Fires when an item is created.
Declaration
public EventCallback<FileManagerCreateEventArgs> OnCreate { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<FileManagerCreateEventArgs>
|
OnDelete
Fires when a item is deleted.
Declaration
public EventCallback<FileManagerDeleteEventArgs> OnDelete { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<FileManagerDeleteEventArgs>
|
OnDownload
Fires when an item is downloaded.
Declaration
public EventCallback<FileManagerDownloadEventArgs> OnDownload { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<FileManagerDownloadEventArgs>
|
OnEdit
Fires when an item is about to be edited.
Declaration
public EventCallback<FileManagerEditEventArgs> OnEdit { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<FileManagerEditEventArgs>
|
OnModelInit
Fires when a new instance of the model is about to be created. Useful when no parameterless constructor is implemented. If the delegate is not defined Activator.CreateInstance method is used to create a new model instance.
Declaration
public Func<TItem> OnModelInit { get; set; }
Property Value
System.Func<TItem>
|
OnRead
Fires when the data is read.
Declaration
public EventCallback<FileManagerReadEventArgs> OnRead { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<FileManagerReadEventArgs>
|
OnUpdate
Fires when a item is updated.
Declaration
public EventCallback<FileManagerUpdateEventArgs> OnUpdate { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<FileManagerUpdateEventArgs>
|
ParentIdField
Defines the ParentIdField that is used for obtaining the data from a file.
Declaration
public string ParentIdField { get; set; }
Property Value
System.String
|
Path
Defines the current working path.
Declaration
public string Path { get; set; }
Property Value
System.String
|
PathChanged
Triggered when the path changes.
Declaration
public EventCallback<string> PathChanged { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<System.String>
|
PathField
Defines the PathField that is used for obtaining the data from a file.
Declaration
public string PathField { get; set; }
Property Value
System.String
|
SelectedItems
Defines the collection of selected items from the Grid or ListView files view. The parameter supports two-way binding.
Declaration
public IEnumerable<TItem> SelectedItems { get; set; }
Property Value
System.Collections.Generic.IEnumerable<TItem>
|
SelectedItemsChanged
The event fires when users select or deselect items.
Declaration
public EventCallback<IEnumerable<TItem>> SelectedItemsChanged { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<System.Collections.Generic.IEnumerable<TItem>>
|
SizeField
Defines the SizeField that is used for obtaining the data from a file.
Declaration
public string SizeField { get; set; }
Property Value
System.String
|
View
Defines the initial FileManager view. See FileManagerViewType.
Declaration
public FileManagerViewType View { get; set; }
Property Value
FileManagerViewType
|
ViewChanged
The event fires when users change the active FileManager View.
Declaration
public EventCallback<FileManagerViewType> ViewChanged { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<FileManagerViewType>
|
Width
Defines the width of the component.
Declaration
public string Width { get; set; }
Property Value
System.String
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
Dispose()
Declaration
public override void Dispose()
Overrides
InitJsComponentAsync()
Declaration
protected Task InitJsComponentAsync()
Returns
System.Threading.Tasks.Task
|
OnAfterRenderAsync(Boolean)
Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
System.Boolean
firstRender
|
Returns
System.Threading.Tasks.Task
|