FileManagerSettingsAdaptivity.EnableCollapseFolderContainer Property
Gets or sets a value specifying whether the file manager’s folder container is collapsed when the browser window width is changed.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to EnableCollapseFolderContainer |
---|---|---|
ASP.NET MVC Extensions | FileManagerSettings |
|
ASP.NET Web Forms Controls | ASPxFileManager |
|
Remarks
Concept
Example
Web Forms (in markup):
<dx:ASPxFileManager ID="FileManager" runat="server" >
<SettingsAdaptivity Enabled="true" EnableCollapseFolderContainer="true"
CollapseFolderContainerAtWindowInnerWidth="300" />
...
</dx:ASPxFileManager>
Web Forms (in code):
ASPxFileManager fm = new ASPxFileManager();
...
FileManager.SettingsAdaptivity.Enabled = true;
FileManager.SettingsAdaptivity.EnableCollapseFolderContainer = true;
FileManager.SettingsAdaptivity.CollapseFolderContainerAtWindowInnerWidth = Unit.Pixel(300);
...
MVC:
@Html.DevExpress().FileManager( settings => {
settings.Name = "fileManager";
settings.SettingsAdaptivity.Enabled = true;
settings.SettingsAdaptivity.EnableCollapseFolderContainer = true;
settings.SettingsAdaptivity.CollapseFolderContainerAtWindowInnerWidth = Unit.Pixel(300);
...
}).BindToFolder(Model).GetHtml()
Online Demo
See Also