FileManagerBuilder.SelectionMode(FileManagerSelectionMode) Method

Specifies the selection behavior in the file manager.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public FileManagerBuilder SelectionMode(
    FileManagerSelectionMode value
)

Parameters

Name Type Description
value FileManagerSelectionMode

One of the enumeration values.

Returns

Type Description
FileManagerBuilder

A file manager builder.

Remarks

Use the SelectionMode method to specify the selection behavior of the file manager.

Single Selection:

@(Html.DevExtreme().FileManager()
    .SelectionMode(selection => selection.Mode(FileManagerSelectionMode.Single))
)

Multiple Selection:

@(Html.DevExtreme().FileManager()
    .SelectionMode(selection => selection.Mode(FileManagerSelectionMode.Multiple))
)
See Also