aspnetcore-devextreme-dot-aspnet-dot-mvc-4309c606.md
Lists toolbar items.
Namespace : DevExtreme.AspNet.Mvc
Assembly : DevExtreme.AspNet.Core.dll
[JsonConverter(typeof(StringEnumConverter))]
public enum FileManagerToolbarItem
| Name | Description |
|---|---|
ShowNavPane |
A toolbar item that allows you to show the navigation panel.
|
| Create |
A toolbar item that allows you to create a directory.
|
| Upload |
A toolbar item that allows you to upload a file.
|
| Refresh |
A toolbar item that allows you to refresh the file manager content.
|
| SwitchView |
A toolbar item that allows you to switch view.
|
| Download |
A toolbar item that allows you to download a file.
|
| Move |
A toolbar item that allows you to move a file or directory.
|
| Copy |
A toolbar item that allows you to copy a file or directory.
|
| Rename |
A toolbar item that allows you to rename a file or directory.
|
| Delete |
A toolbar item that allows you to delete a file or directory.
|
| ClearSelection |
Clears selection.
|
| Separator |
A toolbar item that serves as a separator between toolbar items.
|
@(Html.DevExtreme().FileManager()
.Toolbar(toolbar => {
toolbar.Items(items => {
items.Add().Name(FileManagerToolbarItem.ShowNavPane).Visible(true);
items.Add().Name(FileManagerToolbarItem.Separator);
items.Add().Name(FileManagerToolbarItem.Create);
//...
}
}
//...
)
See Also