Back to Devexpress

FileManagerToolbarItem Enum

aspnetcore-devextreme-dot-aspnet-dot-mvc-4309c606.md

latest1.9 KB
Original Source

FileManagerToolbarItem Enum

Lists toolbar items.

Namespace : DevExtreme.AspNet.Mvc

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
[JsonConverter(typeof(StringEnumConverter))]
public enum FileManagerToolbarItem

Members

NameDescription
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

cshtml
@(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);
            //...
        }
    }
    //...
)

Concepts

Online Demo

See Also

DevExtreme.AspNet.Mvc Namespace