Tab
A newer version of this page is available. Switch to the current version.

FileManagerSettingsFileList Class

Contains file list specific settings.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public class FileManagerSettingsFileList :
    FileManagerSettingsBase
Public Class FileManagerSettingsFileList
    Inherits FileManagerSettingsBase

Related API Members

The following members accept/return FileManagerSettingsFileList objects:

Remarks

Use the ASPxFileManager.SettingsFileList property to access the FileManagerSettingsFileList object.

Example

Web Forms (declaratively):

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

Web Forms (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;

MVC:

@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()

Online Demo

See Also