Skip to main content

FileManagerBuilder Methods

A FileManager control.
Name Description
AccessKey(JS) Specifies the shortcut key that sets focus on the UI component. Mirrors the client-side accessKey option.
AccessKey(String) Specifies the shortcut key that sets focus on the UI component. Mirrors the client-side accessKey option.
ActiveStateEnabled(JS) Specifies whether the UI component changes its visual state as a result of user interaction. Mirrors the client-side activeStateEnabled option.
ActiveStateEnabled(Boolean) Specifies whether the UI component changes its visual state as a result of user interaction. Mirrors the client-side activeStateEnabled option.
AllowedFileExtensions(JS) Specifies the allowed upload file extensions. Mirrors the client-side allowedFileExtensions option.
AllowedFileExtensions(IEnumerable<String>) Specifies the allowed upload file extensions. Mirrors the client-side allowedFileExtensions option.
ContextMenu(Action<FileManagerContextMenuBuilder>) Configures the context menu settings. Mirrors the client-side contextMenu object.
CurrentPath(JS) Specifies the path that is used when the FileManager is initialized. Mirrors the client-side currentPath option.
CurrentPath(String) Specifies the path that is used when the FileManager is initialized. Mirrors the client-side currentPath option.
CurrentPathKeys(JS) Specifies an array of path keys to the current location. Mirrors the client-side currentPathKeys option.
CurrentPathKeys(IEnumerable<String>) Specifies an array of path keys to the current location. Mirrors the client-side currentPathKeys option.
CustomizeDetailColumns(RazorBlock) Customizes columns in details view. Applies only if itemView.mode is 'details'. Mirrors the client-side customizeDetailColumns option.
CustomizeDetailColumns(String) Customizes columns in details view. Applies only if itemView.mode is 'details'. Mirrors the client-side customizeDetailColumns option.
CustomizeThumbnail(RazorBlock) Allows you to provide custom icons to be used as thumbnails. Mirrors the client-side customizeThumbnail option.
CustomizeThumbnail(String) Allows you to provide custom icons to be used as thumbnails. Mirrors the client-side customizeThumbnail option.
Disabled(JS) Specifies whether the UI component responds to user interaction. Mirrors the client-side disabled option.
Disabled(Boolean) Specifies whether the UI component responds to user interaction. Mirrors the client-side disabled option.
ElementAttr(JS) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(Dictionary<String, Object>) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(Object) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(String, Object) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FileSystemProvider(JS) Specifies the file system provider. Mirrors the client-side fileSystemProvider option.
FileSystemProvider(Func<FileSystemProviderFactory, OptionsOwnerBuilder>) Specifies the file system provider. Mirrors the client-side fileSystemProvider option.
FileSystemProvider(String) Specifies the file system provider. Mirrors the client-side fileSystemProvider option.
FocusedItemKey(JS) Specifies a key of the initially or currently focused item. Mirrors the client-side focusedItemKey option.
FocusedItemKey(String) Specifies a key of the initially or currently focused item. Mirrors the client-side focusedItemKey option.
FocusStateEnabled(JS) Specifies whether the UI component can be focused using keyboard navigation. Mirrors the client-side focusStateEnabled option.
FocusStateEnabled(Boolean) Specifies whether the UI component can be focused using keyboard navigation. Mirrors the client-side focusStateEnabled option.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
Height(JS) Specifies the UI component's height. Mirrors the client-side height option.
Height(Double) Specifies the UI component's height. Mirrors the client-side height option.
Height(String) Specifies the UI component's height. Mirrors the client-side height option.
Hint(JS) Specifies text for a hint that appears when a user pauses on the UI component. Mirrors the client-side hint option.
Hint(String) Specifies text for a hint that appears when a user pauses on the UI component. Mirrors the client-side hint option.
HoverStateEnabled(JS) Specifies whether the UI component changes its state when a user pauses on it. Mirrors the client-side hoverStateEnabled option.
HoverStateEnabled(Boolean) Specifies whether the UI component changes its state when a user pauses on it. Mirrors the client-side hoverStateEnabled option.
ID(JS) Specifies the id attribute for the control’s HTML element (used for nested controls within templates).
ID(String) Specifies the id attribute for the control’s HTML element.
ItemView(Action<FileManagerItemViewBuilder>) Configures the file and directory view. Mirrors the client-side itemView object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Notifications(Action<FileManagerNotificationsBuilder>) Configures notification settings. Mirrors the client-side notifications object.
OnContentReady(RazorBlock) A function that is executed when the UI component is rendered and each time the component is repainted. Mirrors the client-side onContentReady option.
OnContentReady(String) A function that is executed when the UI component is rendered and each time the component is repainted. Mirrors the client-side onContentReady option.
OnContextMenuItemClick(RazorBlock) A function that is executed when a context menu item is clicked. Mirrors the client-side onContextMenuItemClick option.
OnContextMenuItemClick(String) A function that is executed when a context menu item is clicked. Mirrors the client-side onContextMenuItemClick option.
OnContextMenuShowing(RazorBlock) A function that is executed before a context menu is displayed. Mirrors the client-side onContextMenuShowing option.
OnContextMenuShowing(String) A function that is executed before a context menu is displayed. Mirrors the client-side onContextMenuShowing option.
OnCurrentDirectoryChanged(RazorBlock) A function that is executed when the current directory is changed. Mirrors the client-side onCurrentDirectoryChanged option.
OnCurrentDirectoryChanged(String) A function that is executed when the current directory is changed. Mirrors the client-side onCurrentDirectoryChanged option.
OnDirectoryCreated(RazorBlock) A function that is executed when a directory is created. Mirrors the client-side onDirectoryCreated option.
OnDirectoryCreated(String) A function that is executed when a directory is created. Mirrors the client-side onDirectoryCreated option.
OnDirectoryCreating(RazorBlock) A function that is executed before a directory is created. Mirrors the client-side onDirectoryCreating option.
OnDirectoryCreating(String) A function that is executed before a directory is created. Mirrors the client-side onDirectoryCreating option.
OnDisposing(RazorBlock) A function that is executed before the UI component is disposed of. Mirrors the client-side onDisposing option.
OnDisposing(String) A function that is executed before the UI component is disposed of. Mirrors the client-side onDisposing option.
OnErrorOccurred(RazorBlock) A function that is executed when an error occurs. Mirrors the client-side onErrorOccurred option.
OnErrorOccurred(String) A function that is executed when an error occurs. Mirrors the client-side onErrorOccurred option.
OnFileUploaded(RazorBlock) A function that is executed when a file is successfully uploaded. Mirrors the client-side onFileUploaded option.
OnFileUploaded(String) A function that is executed when a file is successfully uploaded. Mirrors the client-side onFileUploaded option.
OnFileUploading(RazorBlock) A function that is executed before the file is uploaded. Mirrors the client-side onFileUploading option.
OnFileUploading(String) A function that is executed before the file is uploaded. Mirrors the client-side onFileUploading option.
OnFocusedItemChanged(RazorBlock) A function that is executed when the focused item is changed. Mirrors the client-side onFocusedItemChanged option.
OnFocusedItemChanged(String) A function that is executed when the focused item is changed. Mirrors the client-side onFocusedItemChanged option.
OnInitialized(RazorBlock) A function used in JavaScript frameworks to save the UI component instance. Mirrors the client-side onInitialized option.
OnInitialized(String) A function used in JavaScript frameworks to save the UI component instance. Mirrors the client-side onInitialized option.
OnItemCopied(RazorBlock) A function that is executed when a file or directory is copied. Mirrors the client-side onItemCopied option.
OnItemCopied(String) A function that is executed when a file or directory is copied. Mirrors the client-side onItemCopied option.
OnItemCopying(RazorBlock) A function that is executed before a file or directory is copied. Mirrors the client-side onItemCopying option.
OnItemCopying(String) A function that is executed before a file or directory is copied. Mirrors the client-side onItemCopying option.
OnItemDeleted(RazorBlock) A function that is executed when a file or directory is deleted. Mirrors the client-side onItemDeleted option.
OnItemDeleted(String) A function that is executed when a file or directory is deleted. Mirrors the client-side onItemDeleted option.
OnItemDeleting(RazorBlock) A function that is executed before a file or directory is deleted. Mirrors the client-side onItemDeleting option.
OnItemDeleting(String) A function that is executed before a file or directory is deleted. Mirrors the client-side onItemDeleting option.
OnItemDownloading(RazorBlock) A function that is executed before a file is downloaded. Mirrors the client-side onItemDownloading option.
OnItemDownloading(String) A function that is executed before a file is downloaded. Mirrors the client-side onItemDownloading option.
OnItemMoved(RazorBlock) A function that is executed when a file or directory is moved. Mirrors the client-side onItemMoved option.
OnItemMoved(String) A function that is executed when a file or directory is moved. Mirrors the client-side onItemMoved option.
OnItemMoving(RazorBlock) A function that is executed before a file or directory is moved. Mirrors the client-side onItemMoving option.
OnItemMoving(String) A function that is executed before a file or directory is moved. Mirrors the client-side onItemMoving option.
OnItemRenamed(RazorBlock) A function that is executed when a file or directory is renamed. Mirrors the client-side onItemRenamed option.
OnItemRenamed(String) A function that is executed when a file or directory is renamed. Mirrors the client-side onItemRenamed option.
OnItemRenaming(RazorBlock) A function that is executed before a file or directory is renamed. Mirrors the client-side onItemRenaming option.
OnItemRenaming(String) A function that is executed before a file or directory is renamed. Mirrors the client-side onItemRenaming option.
OnOptionChanged(RazorBlock) A function that is executed after a UI component property is changed. Mirrors the client-side onOptionChanged option.
OnOptionChanged(String) A function that is executed after a UI component property is changed. Mirrors the client-side onOptionChanged option.
OnSelectedFileOpened(RazorBlock) A function that is executed when the selected file is opened. Mirrors the client-side onSelectedFileOpened option.
OnSelectedFileOpened(String) A function that is executed when the selected file is opened. Mirrors the client-side onSelectedFileOpened option.
OnSelectionChanged(RazorBlock) A function that is executed when a file system item is selected or selection is canceled. Mirrors the client-side onSelectionChanged option.
OnSelectionChanged(String) A function that is executed when a file system item is selected or selection is canceled. Mirrors the client-side onSelectionChanged option.
OnToolbarItemClick(RazorBlock) A function that is executed when a toolbar item is clicked. Mirrors the client-side onToolbarItemClick option.
OnToolbarItemClick(String) A function that is executed when a toolbar item is clicked. Mirrors the client-side onToolbarItemClick option.
Option(String, Object) Specifies an option by its name.
Permissions(Action<FileManagerPermissionsBuilder>) Specifies actions that a user is allowed to perform on files and directories. Mirrors the client-side permissions object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Render() Inherited from WidgetBuilder.
RootFolderName(JS) Specifies the root directory display name. Mirrors the client-side rootFolderName option.
RootFolderName(String) Specifies the root directory display name. Mirrors the client-side rootFolderName option.
RtlEnabled(JS) Switches the UI component to a right-to-left representation. Mirrors the client-side rtlEnabled option.
RtlEnabled(Boolean) Switches the UI component to a right-to-left representation. Mirrors the client-side rtlEnabled option.
SelectedItemKeys(JS) Contains an array of initially or currently selected files and directories' keys. Mirrors the client-side selectedItemKeys option.
SelectedItemKeys(IEnumerable<String>) Contains an array of initially or currently selected files and directories' keys. Mirrors the client-side selectedItemKeys option.
SelectionMode(FileManagerSelectionMode) Specifies whether a user can select a single or multiple files and directories in the item view simultaneously. Mirrors the client-side selectionMode option.
TabIndex(JS) Specifies the number of the element when the Tab key is used for navigating. Mirrors the client-side tabIndex option.
TabIndex(Int32) Specifies the number of the element when the Tab key is used for navigating. Mirrors the client-side tabIndex option.
Toolbar(Action<FileManagerToolbarBuilder>) Configures toolbar settings. Mirrors the client-side toolbar object.
ToString() Inherited from WidgetBuilder.
ToTemplate() Renders the control as a template string for use in another control’s template. Inherited from WidgetBuilder.
Upload(Action<FileManagerUploadBuilder>) Configures upload settings. Mirrors the client-side upload object.
Visible(JS) Specifies whether the UI component is visible. Mirrors the client-side visible option.
Visible(Boolean) Specifies whether the UI component is visible. Mirrors the client-side visible option.
Width(JS) Specifies the UI component's width. Mirrors the client-side width option.
Width(Double) Specifies the UI component's width. Mirrors the client-side width option.
Width(String) Specifies the UI component's width. Mirrors the client-side width option.
See Also