Skip to main content
Tab

FileManagerSettingsFileList.DetailsViewSettings Property

Gets file list settings available when the list is in details view mode.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public FileManagerFileListDetailsViewSettings DetailsViewSettings { get; }

Property Value

Type Description
FileManagerFileListDetailsViewSettings

A FileManagerFileListDetailsViewSettings object that contains settings.

Property Paths

You can access this nested property as listed below:

Object Type Path to DetailsViewSettings
ASPxFileManager
.SettingsFileList .DetailsViewSettings
RichEditDocumentSelectorSettings
.FileListSettings .DetailsViewSettings
SpreadsheetDocumentSelectorSettings
.FileListSettings .DetailsViewSettings

Remarks

Web Forms

The following example configures details view settings in markup:

<dx:ASPxFileManager ID="fileManager" runat="server" >
    <SettingsFileList View="Details">
        <DetailsViewSettings AllowColumnResize="true" AllowColumnDragDrop="true" 
        AllowColumnSort="true" ShowHeaderFilterButton="false" />
    </SettingsFileList>
    <!-- ... -->
</dx:ASPxFileManager>

Run Demo: File Manager - Details View

The following code snippet changes details view settings in code:

ASPxFileManager fm = new ASPxFileManager();
// ...
fm.SettingsFileList.View = FileListView.Details;
fm.SettingsFileList.DetailsViewSettings.AllowColumnResize = true;
fm.SettingsFileList.DetailsViewSettings.AllowColumnDragDrop = true;
fm.SettingsFileList.DetailsViewSettings.AllowColumnSort = true;
fm.SettingsFileList.DetailsViewSettings.ShowHeaderFilterButton = false;

You can customize the file manager’s toolbar to display buttons that allow users to switch between view modes. Refer to the following demo for more information: File Manager - Custom Toolbar.

MVC

The following example configures details view settings of the File Manager extension:

@Html.DevExpress().FileManager( settings => {
    settings.Name = "fileManager";
    settings.SettingsFileList.View = FileListView.Details;
    settings.SettingsFileList.DetailsViewSettings.AllowColumnResize = true;
    settings.SettingsFileList.DetailsViewSettings.AllowColumnDragDrop = true;
    settings.SettingsFileList.DetailsViewSettings.AllowColumnSort = true;
    settings.SettingsFileList.DetailsViewSettings.ShowHeaderFilterButton = false
    // ...
}).BindToFolder(Model).GetHtml()

Run Demo: FileManager - Details View

You can customize the file manager’s toolbar to display buttons that allow users to switch between view modes. Refer to the following demo for more information: File Manager - Custom Toolbar.

See Also