FileManagerItemViewMode Enum
Lists values that specify how to display file manager items.
Namespace: DevExtreme.AspNet.Mvc
Assembly: DevExtreme.AspNet.Core.dll
Declaration
[JsonConverter(typeof(StringEnumConverter))]
public enum FileManagerItemViewMode
Members
Name | Description |
---|---|
Details
|
Displays the file list as a grid and provides detailed file information. |
Thumbnails
|
Displays the file list items as thumbnails. |
Remarks
Use the ItemView(Action<FileManagerItemViewBuilder>) method to specify how to display file manager items: details or thumbnails.
Details View:
@(Html.DevExtreme().FileManager()
.FileProvider(new JS("fileSystem"))
.ItemView(view => view.Mode(FileManagerItemViewMode.Details))
)
Thumbnails View:
@(Html.DevExtreme().FileManager()
.FileProvider(new JS("fileSystem"))
.ItemView(view => view.Mode(FileManagerItemViewMode.Thumbnails))
)
Online Demo: File Manager - Custom Thumbnails
Online Example: File Manager - How to generate thumbnails for images on server
See Also