Back to Devexpress

FileManagerBuilder.SelectionMode(FileManagerSelectionMode) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-filemanagerbuilder-dot-selectionmode-x28-devextreme-dot-aspnet-dot-mvc-dot-filemanagerselectionmode-x29.md

latest1.5 KB
Original Source

FileManagerBuilder.SelectionMode(FileManagerSelectionMode) Method

Specifies whether a user can select a single or multiple files and directories in the item view simultaneously. Mirrors the client-side selectionMode option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public FileManagerBuilder SelectionMode(
    FileManagerSelectionMode value
)

Parameters

NameTypeDescription
valueFileManagerSelectionMode

The option value.

|

Returns

TypeDescription
FileManagerBuilder

A reference to this instance after the method is called.

|

Remarks

Use the following notation to set the option’s value:

cshtml
@(Html.DevExtreme().FileManager()
    .SelectionMode(FileManagerSelectionMode.Multiple)
)

See Also

FileManagerBuilder Class

FileManagerBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace