Skip to main content
JS

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

FileManagerSelectionMode Enum

Lists values that specify the selection behavior for the file manager.

Namespace: DevExtreme.AspNet.Mvc

Assembly: DevExtreme.AspNet.Core.dll

#Declaration

C#
[JsonConverter(typeof(StringEnumConverter))]
public enum FileManagerSelectionMode

#Members

Name Description
Multiple

End users can select multiple items.

Single

End users can select a single item only.

#Remarks

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

Single Selection:

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

Multiple Selection:

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