FileManagerSettingsAdaptivity.Enabled Property
Specifies whether an adaptive behavior is enabled for the File Manager.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false |
|
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to Enabled |
---|---|---|
ASP.NET Web Forms Controls | ASPxFileManager |
|
ASP.NET MVC Extensions | FileManagerSettings |
|
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