FileManagerSettingsAdaptivity Class
Contains settings that relate to the file manager’s adaptivity.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Related API Members
The following members return FileManagerSettingsAdaptivity objects:
Library | Related API Members |
---|---|
ASP.NET Web Forms Controls | ASPxFileManager.SettingsAdaptivity |
ASP.NET MVC Extensions | FileManagerSettings.SettingsAdaptivity |
Remarks
Use the ASPxFileManager.SettingsAdaptivity property to access a FileManagerSettingsAdaptivity
object.
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
Inheritance
Object
StateManager
PropertiesBase
FileManagerSettingsBase
FileManagerSettingsAdaptivity
See Also