FileManagerToolbarItem Enum
Lists toolbar items.
Namespace: DevExtreme.AspNet.Mvc
Assembly: DevExtreme.AspNet.Core.dll
Declaration
[JsonConverter(typeof(StringEnumConverter))]
public enum FileManagerToolbarItem
Members
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. |
Remarks
@(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);
//...
}
}
//...
)