FileManagerSettingsFileList.ShowFolders Property
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v18.2.dll
Declaration
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.
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