Skip to main content

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

public FileManagerBuilder SelectionMode(
    FileManagerSelectionMode value
)

Parameters

Name Type Description
value FileManagerSelectionMode

The option value.

Returns

Type Description
FileManagerBuilder

A reference to this instance after the method is called.

Remarks

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

@(Html.DevExtreme().FileManager()
    .SelectionMode(FileManagerSelectionMode.Multiple)
)
See Also