Table of Contents

Class FileManager

Namespace
Oqtane.Modules.Controls
Assembly
Oqtane.Client.dll
public class FileManager : ModuleControlBase, IModuleControl
Inheritance
object
ComponentBase
FileManager
Implements
Inherited Members

Properties

FileId

[Parameter]
public int FileId { get; set; }

Property Value

int

Filter

[Parameter]
public string Filter { get; set; }

Property Value

string

Folder

[Parameter]
public string Folder { get; set; }

Property Value

string

FolderId

[Parameter]
public int FolderId { get; set; }

Property Value

int

Id

[Parameter]
public string Id { get; set; }

Property Value

string

OnDelete

[Parameter]
public EventCallback<int> OnDelete { get; set; }

Property Value

EventCallback<int>

OnSelect

[Parameter]
public EventCallback<int> OnSelect { get; set; }

Property Value

EventCallback<int>

OnUpload

[Parameter]
public EventCallback<int> OnUpload { get; set; }

Property Value

EventCallback<int>

ShowFiles

[Parameter]
public bool ShowFiles { get; set; }

Property Value

bool

ShowFolders

[Parameter]
public bool ShowFolders { get; set; }

Property Value

bool

ShowImage

[Parameter]
public bool ShowImage { get; set; }

Property Value

bool

ShowProgress

[Parameter]
public bool ShowProgress { get; set; }

Property Value

bool

ShowSuccess

[Parameter]
public bool ShowSuccess { get; set; }

Property Value

bool

ShowUpload

[Parameter]
public bool ShowUpload { get; set; }

Property Value

bool

UploadMultiple

[Parameter]
public bool UploadMultiple { get; set; }

Property Value

bool

Methods

BuildRenderTree(RenderTreeBuilder)

Renders the component to the supplied Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

GetFile()

public File GetFile()

Returns

File

GetFileId()

public int GetFileId()

Returns

int

GetFolderId()

public int GetFolderId()

Returns

int

OnInitialized()

Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree.

protected override void OnInitialized()

OnParametersSetAsync()

Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.

protected override Task OnParametersSetAsync()

Returns

Task

A System.Threading.Tasks.Task representing any asynchronous operation.

Refresh()

public Task Refresh()

Returns

Task

Refresh(int)

public Task Refresh(int fileId)

Parameters

fileId int

Returns

Task