Skip to main content
A newer version of this page is available. .
Tab

FileManagerSettingsFileList.ShowFolders Property

Specifies whether folders are displayed in the file list.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

[DefaultValue(false)]
public virtual bool ShowFolders { get; set; }

Property Value

Type Default Description
Boolean **false**

true, if folders are visible in the file list, otherwise, false.

Property Paths

You can access this nested property as listed below:

Remarks

By default, the file list displays files only. Set the ShowFolders property to true to display folders in the file list.

ASPxFileManager - Items

Example

Web Forms (declaratively):

<dx:ASPxFileManager ID="fileManager" runat="server" >
    <SettingsFileList ShowFolders="true" PageSize="300" />
    ...
</dx:ASPxFileManager>

Web Forms (in code):

ASPxFileManager fm = new ASPxFileManager();
...
fm.SettingsFileList.PageSize = 300;
fm.SettingsFileList.ShowFolders = true;

MVC:

@Html.DevExpress().FileManager( settings => {
    settings.Name = "fileManager";
    settings.SettingsFileList.PageSize = 300;
    settings.SettingsFileList.ShowFolders = true;
    ...
}).BindToFolder(Model).GetHtml()

Online Demo

See Also