Class FileManagerEvents<TValue>
Configure handlers to handle the events of the FileManager component
Inheritance
Namespace: Syncfusion.Blazor.FileManager
Assembly: Syncfusion.Blazor.dll
Syntax
public class FileManagerEvents<TValue> : SfBaseComponent
Type Parameters
Name | Description |
---|---|
TValue |
Constructors
FileManagerEvents()
Declaration
public FileManagerEvents()
Properties
BeforeDownload
Triggers before sending the download request to the server.
Declaration
public EventCallback<BeforeDownloadEventArgs<TValue>> BeforeDownload { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<BeforeDownloadEventArgs<TValue>> |
BeforeImageLoad
Triggers before sending the getImage request to the server.
Declaration
public EventCallback<BeforeImageLoadEventArgs<TValue>> BeforeImageLoad { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<BeforeImageLoadEventArgs<TValue>> |
BeforePopupClose
Triggers before the dialog is closed.
Declaration
public EventCallback<BeforePopupOpenCloseEventArgs> BeforePopupClose { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<BeforePopupOpenCloseEventArgs> |
BeforePopupOpen
Triggers before the dialog is opened.
Declaration
public EventCallback<BeforePopupOpenCloseEventArgs> BeforePopupOpen { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<BeforePopupOpenCloseEventArgs> |
Created
Triggers when the file manager component is created.
Declaration
public EventCallback<object> Created { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
Destroyed
Triggers when the file manager component is destroyed.
Declaration
public EventCallback<object> Destroyed { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
FileDragging
Triggers while dragging the file/folder.
Declaration
public EventCallback<FileDragEventArgs<TValue>> FileDragging { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<FileDragEventArgs<TValue>> |
FileDropped
Triggers when the file/folder is dropped.
Declaration
public EventCallback<FileDragEventArgs<TValue>> FileDropped { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<FileDragEventArgs<TValue>> |
FileSelected
Triggers when the file/folder is selected/unselected.
Declaration
public EventCallback<FileSelectEventArgs<TValue>> FileSelected { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<FileSelectEventArgs<TValue>> |
FileSelection
Triggers before the file/folder is selected.
Declaration
public EventCallback<FileSelectionEventArgs<TValue>> FileSelection { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<FileSelectionEventArgs<TValue>> |
MenuOpened
Triggers before the context menu is opened.
Declaration
public EventCallback<MenuOpenEventArgs<TValue>> MenuOpened { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<MenuOpenEventArgs<TValue>> |
OnError
Triggers when the AJAX request is failed.
Declaration
public EventCallback<FailureEventArgs> OnError { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<FailureEventArgs> |
OnFileDragStart
Triggers when the file/folder dragging is started.
Declaration
public EventCallback<FileDragEventArgs<TValue>> OnFileDragStart { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<FileDragEventArgs<TValue>> |
OnFileDragStop
Triggers when the file/folder is about to be dropped at the target.
Declaration
public EventCallback<FileDragEventArgs<TValue>> OnFileDragStop { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<FileDragEventArgs<TValue>> |
OnFileLoad
Triggers before the file/folder is rendered.
Declaration
public EventCallback<FileLoadEventArgs<TValue>> OnFileLoad { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<FileLoadEventArgs<TValue>> |
OnFileOpen
Triggers before the file/folder is opened.
Declaration
public EventCallback<FileOpenEventArgs<TValue>> OnFileOpen { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<FileOpenEventArgs<TValue>> |
OnMenuClick
Triggers when the context menu item is clicked.
Declaration
public EventCallback<MenuClickEventArgs<TValue>> OnMenuClick { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<MenuClickEventArgs<TValue>> |
OnSend
Triggers before sending the AJAX request to the server.
Declaration
public EventCallback<BeforeSendEventArgs> OnSend { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<BeforeSendEventArgs> |
OnSuccess
Triggers when the AJAX request is success.
Declaration
public EventCallback<SuccessEventArgs<TValue>> OnSuccess { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<SuccessEventArgs<TValue>> |
PopupClosed
Triggers when the dialog is closed.
Declaration
public EventCallback<PopupOpenCloseEventArgs> PopupClosed { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<PopupOpenCloseEventArgs> |
PopupOpened
Triggers when the dialog is opened.
Declaration
public EventCallback<PopupOpenCloseEventArgs> PopupOpened { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<PopupOpenCloseEventArgs> |
ToolbarCreated
Triggers before creating the toolbar.
Declaration
public EventCallback<ToolbarCreateEventArgs> ToolbarCreated { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<ToolbarCreateEventArgs> |
ToolbarItemClicked
Triggers when the toolbar item is clicked.
Declaration
public EventCallback<ToolbarClickEventArgs<TValue>> ToolbarItemClicked { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<ToolbarClickEventArgs<TValue>> |
UploadListCreated
Triggers before rendering each file item in upload dialog box.
Declaration
public EventCallback<UploadListCreateArgs> UploadListCreated { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<UploadListCreateArgs> |
Methods
OnInitialized()
Declaration
protected override void OnInitialized()