Skip to main content
Tab

FileManagerSettingsAdaptivity.Enabled Property

Specifies whether an adaptive behavior is enabled for the File Manager.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.1.dll

Declaration

[DefaultValue(false)]
public bool Enabled { get; set; }

Property Value

Type Default Description
Boolean false

true, to enable the adaptive behavior; otherwise, false.

Property Paths

You can access this nested property as listed below:

Show 28 property paths
Library Object Type Path to Enabled
ASP.NET Web Forms Controls ASPxFileManager
HtmlEditorAudioSelectorSettings
HtmlEditorDocumentSelectorSettings
HtmlEditorFileManager
HtmlEditorFileManagerSettingsBase
HtmlEditorFlashSelectorSettings
HtmlEditorImageSelectorSettings
HtmlEditorInsertAudioDialogSettings
HtmlEditorInsertFlashDialogSettings
HtmlEditorInsertImageDialogSettings
HtmlEditorInsertLinkDialogSettings
HtmlEditorInsertVideoDialogSettings
HtmlEditorSelectorSettings
HtmlEditorVideoSelectorSettings
RichEditFileManager
RichEditFolderManager
ASP.NET MVC Extensions FileManagerSettings
MVCxFileManager
MVCxHtmlEditorAudioSelectorSettings
MVCxHtmlEditorDocumentSelectorSettings
MVCxHtmlEditorFlashSelectorSettings
MVCxHtmlEditorImageSelectorSettings
MVCxHtmlEditorInsertAudioDialogSettings
MVCxHtmlEditorInsertFlashDialogSettings
MVCxHtmlEditorInsertImageDialogSettings
MVCxHtmlEditorInsertLinkDialogSettings
MVCxHtmlEditorInsertVideoDialogSettings
MVCxHtmlEditorVideoSelectorSettings

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