Skip to main content
Tab

FileManagerFileListDetailsViewSettings.SettingsAdaptivity Property

Provides access to the adaptivity settings of the File Manager’s File List when it is in the Details view mode.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public FileManagerFileListDetailsViewAdaptivitySettings SettingsAdaptivity { get; }

Property Value

Type Description
FileManagerFileListDetailsViewAdaptivitySettings

A FileManagerFileListDetailsViewAdaptivitySettings object that contains adaptivity settings.

Property Paths

You can access this nested property as listed below:

Object Type Path to SettingsAdaptivity
FileManagerSettingsFileList
.DetailsViewSettings .SettingsAdaptivity

Remarks

Refer to the Adaptivity topic to learn more about adaptivity mode in the file manager.

Example

Web Forms (in markup):

<dx:ASPxFileManager ID="fileManager" runat="server" >
    <SettingsFileList View="Details">
        <DetailsViewSettings AllowColumnDragDrop="true">
            <SettingsAdaptivity Mode="HideDataCells" AllowHideDataCellsByColumnMinWidth="true" />
            <SettingsCommandColumn AllowDragDrop="True" />
        </DetailsViewSettings>
    </SettingsFileList>
    ...
</dx:ASPxFileManager>

Web Forms (in code):

ASPxFileManager fm = new ASPxFileManager();
...
fm.SettingsFileList.View = FileListView.Details;
fm.SettingsFileList.DetailsViewSettings.AllowColumnDragDrop = true;
fm.SettingsFileList.DetailsViewSettings.SettingsAdaptivity.Mode = FileManagerDetailsViewAdaptivityMode.HideDataCells;
fm.SettingsFileList.DetailsViewSettings.SettingsCommandColumn.AllowDragDrop = true;

MVC:

@Html.DevExpress().FileManager( settings => {
    settings.Name = "fileManager";
    settings.SettingsFileList.View = FileListView.Details;
    settings.SettingsFileList.DetailsViewSettings.AllowColumnDragDrop = true;
    settings.SettingsFileList.DetailsViewSettings.SettingsAdaptivity.Mode = FileManagerDetailsViewAdaptivityMode.HideDataCells;
    settings.SettingsFileList.DetailsViewSettings.SettingsCommandColumn.AllowDragDrop = true;
    ...
}).BindToFolder(Model).GetHtml()
See Also