Skip to main content
Tab

ASPxFileManager.SettingsAdaptivity Property

Provides access to the file manager layout adaptivity settings.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public FileManagerSettingsAdaptivity SettingsAdaptivity { get; }

Property Value

Type Description
FileManagerSettingsAdaptivity

A FileManagerSettingsAdaptivity object that contains adaptivity settings.

Remarks

Concept

Example

In markup:

<dx:ASPxFileManager ID="FileManager" runat="server" >
    <SettingsAdaptivity Enabled="true" EnableCollapseFolderContainer="true" 
    CollapseFolderContainerAtWindowInnerWidth="300" />
    ...
</dx:ASPxFileManager>

In code:

ASPxFileManager fm = new ASPxFileManager();
...
FileManager.SettingsAdaptivity.Enabled = true;
FileManager.SettingsAdaptivity.EnableCollapseFolderContainer = true;
FileManager.SettingsAdaptivity.CollapseFolderContainerAtWindowInnerWidth = Unit.Pixel(300);
...

Online Demo

See Also