ClassTelerikFileManager<TItem>
The class for the Telerik FileManager component.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Type Parameters:
TItem
Syntax:
public class TelerikFileManager<TItem> : DataBoundComponent<TItem>, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentDataBoundComponent<TItem>TelerikFileManager<TItem>
Implements:
Inherited Members
Constructors
TelerikFileManager()
Declaration
public TelerikFileManager()
Properties
DateCreatedField
Defines the DateCreatedField that is used for obtaining the data from a file.
Declaration
[Parameter]
public string DateCreatedField { get; set; }
Property Value
DateCreatedUtcField
Defines the DateCreatedUtcField that is used for obtaining the data from a file.
Declaration
[Parameter]
public string DateCreatedUtcField { get; set; }
Property Value
DateModifiedField
Defines the DateModifiedField that is used for obtaining the data from a file.
Declaration
[Parameter]
public string DateModifiedField { get; set; }
Property Value
DateModifiedUtcField
Defines the DateModifiedUtcField that is used for obtaining the data from a file.
Declaration
[Parameter]
public string DateModifiedUtcField { get; set; }
Property Value
DialogFactory
Declaration
[CascadingParameter]
public DialogFactory DialogFactory { get; set; }
Property Value
DirectoriesField
Defines the DirectoriesField that is used for obtaining the data from a file.
Declaration
[Parameter]
public string DirectoriesField { get; set; }
Property Value
EnableLoaderContainer
Defines whether the loading container should be shown when there are long-running operations.
Declaration
[Parameter]
public bool EnableLoaderContainer { get; set; }
Property Value
ExtensionField
Defines the ExtensionField that is used for obtaining the data from a file.
Declaration
[Parameter]
public string ExtensionField { get; set; }
Property Value
FileManagerSettings
Defines the settings of the component. Children: FileManagerUploadSettings tag.
Declaration
[Parameter]
public RenderFragment FileManagerSettings { get; set; }
Property Value
FileManagerToolBar
Defines the tools for the toolbar. Children: FileManager toolbar tool components like: FileManagerToolBarNewFolderTool (A button that creates a new folder in the current location. Read how to handle the creation in the FileManager Events article), FileManagerToolBarUploadTool (A button that opens a dialog with integrated Upload component. Read more in the FileManager Upload article), FileManagerToolBarSortDirectionTool (A ButtonGroup with ToggleButtons that selects the sort direction (ascending or descending) to sort the files in the current location), FileManagerToolBarSortTool (A SplitButton that selects the desired sort member to sort by), FileManagerToolBarFileViewTool (A ButtonGroup with ToggleButtons that toggles the file and folder visualization between a ListView and a Grid), FileManagerToolBarViewDetailsTool (A Switch that toggles the visibility of the FileManager Preview Pane. By default, the preview pane is hidden), FileManagerToolBarSearchTool (A TextBox that filters the files by name).
Declaration
[Parameter]
public RenderFragment FileManagerToolBar { get; set; }
Property Value
HasDirectoriesField
Defines the HasDirectoriesField that is used for obtaining the data from a file.
Declaration
[Parameter]
public string HasDirectoriesField { get; set; }
Property Value
Height
Defines the height of the component.
IdField
Defines the IdField that is used for obtaining the data from a file.
IsDirectoryField
Defines the IsDirectoryField that is used for obtaining the data from a file.
Declaration
[Parameter]
public string IsDirectoryField { get; set; }
Property Value
ItemsField
Defines the ItemsField that is used for obtaining the data from a file.
Declaration
[Parameter]
public string ItemsField { get; set; }
Property Value
NameField
Defines the NameField that is used for obtaining the data from a file.
Declaration
[Parameter]
public string NameField { get; set; }
Property Value
OnCreate
Fires when an item is created.
Declaration
[Parameter]
public EventCallback<FileManagerCreateEventArgs> OnCreate { get; set; }
Property Value
OnDelete
Fires when a item is deleted.
Declaration
[Parameter]
public EventCallback<FileManagerDeleteEventArgs> OnDelete { get; set; }
Property Value
OnDownload
Fires when an item is downloaded.
Declaration
[Parameter]
public EventCallback<FileManagerDownloadEventArgs> OnDownload { get; set; }
Property Value
OnEdit
Fires when an item is about to be edited.
Declaration
[Parameter]
public EventCallback<FileManagerEditEventArgs> OnEdit { get; set; }
Property Value
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
[Parameter]
public Func<TItem> OnModelInit { get; set; }
Property Value
Func<TItem>
OnRead
Fires when the data is read.
Declaration
[Parameter]
public EventCallback<FileManagerReadEventArgs> OnRead { get; set; }
Property Value
OnUpdate
Fires when a item is updated.
Declaration
[Parameter]
public EventCallback<FileManagerUpdateEventArgs> OnUpdate { get; set; }
Property Value
ParentIdField
Defines the ParentIdField that is used for obtaining the data from a file.
Declaration
[Parameter]
public string ParentIdField { get; set; }
Property Value
Path
Defines the current working path.
PathChanged
Triggered when the path changes.
Declaration
[Parameter]
public EventCallback<string> PathChanged { get; set; }
Property Value
PathField
Defines the PathField that is used for obtaining the data from a file.
Declaration
[Parameter]
public string PathField { get; set; }
Property Value
SelectedItems
Defines the collection of selected items from the Grid or ListView files view. The parameter supports two-way binding.
Declaration
[Parameter]
public IEnumerable<TItem> SelectedItems { get; set; }
Property Value
IEnumerable<TItem>
SelectedItemsChanged
The event fires when users select or deselect items.
Declaration
[Parameter]
public EventCallback<IEnumerable<TItem>> SelectedItemsChanged { get; set; }
Property Value
EventCallback<IEnumerable<TItem>>
SizeField
Defines the SizeField that is used for obtaining the data from a file.
Declaration
[Parameter]
public string SizeField { get; set; }
Property Value
View
Defines the initial FileManager view. See FileManagerViewType.
Declaration
[Parameter]
public FileManagerViewType View { get; set; }
Property Value
ViewChanged
The event fires when users change the active FileManager View.
Declaration
[Parameter]
public EventCallback<FileManagerViewType> ViewChanged { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
Dispose()
Declaration
public override void Dispose()
Overrides