Skip to main content
Tab

FileManagerSettingsAdaptivity.CollapseFolderContainerAtWindowInnerWidth Property

Gets or sets a value that defines the maximum browser window inner width when the folder container collapses its content when rendered.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.1.dll

Declaration

[DefaultValue(600)]
public virtual int CollapseFolderContainerAtWindowInnerWidth { get; set; }

Property Value

Type Default Description
Int32 600

The browser inner window width in pixels.

Property Paths

You can access this nested property as listed below:

Show 18 property paths
Library Object Type Path to CollapseFolderContainerAtWindowInnerWidth
ASP.NET Web Forms Controls ASPxFileManager
.SettingsAdaptivity.CollapseFolderContainerAtWindowInnerWidth
HtmlEditorAudioSelectorSettings
.SettingsAdaptivity.CollapseFolderContainerAtWindowInnerWidth
HtmlEditorDocumentSelectorSettings
.SettingsAdaptivity.CollapseFolderContainerAtWindowInnerWidth
HtmlEditorFileManager
.SettingsAdaptivity.CollapseFolderContainerAtWindowInnerWidth
HtmlEditorFileManagerSettingsBase
.SettingsAdaptivity.CollapseFolderContainerAtWindowInnerWidth
HtmlEditorFlashSelectorSettings
.SettingsAdaptivity.CollapseFolderContainerAtWindowInnerWidth
HtmlEditorImageSelectorSettings
.SettingsAdaptivity.CollapseFolderContainerAtWindowInnerWidth
HtmlEditorSelectorSettings
.SettingsAdaptivity.CollapseFolderContainerAtWindowInnerWidth
HtmlEditorVideoSelectorSettings
.SettingsAdaptivity.CollapseFolderContainerAtWindowInnerWidth
RichEditFileManager
.SettingsAdaptivity.CollapseFolderContainerAtWindowInnerWidth
RichEditFolderManager
.SettingsAdaptivity.CollapseFolderContainerAtWindowInnerWidth
ASP.NET MVC Extensions FileManagerSettings
.SettingsAdaptivity.CollapseFolderContainerAtWindowInnerWidth
MVCxFileManager
.SettingsAdaptivity.CollapseFolderContainerAtWindowInnerWidth
MVCxHtmlEditorAudioSelectorSettings
.SettingsAdaptivity.CollapseFolderContainerAtWindowInnerWidth
MVCxHtmlEditorDocumentSelectorSettings
.SettingsAdaptivity.CollapseFolderContainerAtWindowInnerWidth
MVCxHtmlEditorFlashSelectorSettings
.SettingsAdaptivity.CollapseFolderContainerAtWindowInnerWidth
MVCxHtmlEditorImageSelectorSettings
.SettingsAdaptivity.CollapseFolderContainerAtWindowInnerWidth
MVCxHtmlEditorVideoSelectorSettings
.SettingsAdaptivity.CollapseFolderContainerAtWindowInnerWidth

Remarks

The folder container collapses its content when the browser window inner width is less than or equal to the value defined by the CollapseFolderContainerAtWindowInnerWidth property.

The CollapseFolderContainerAtWindowInnerWidth property is in effect only when the ASPxCollapsiblePanel.Collapsible property value is set to true.

When the CollapseFolderContainerAtWindowInnerWidth property value is set to 0, the panel does not automatically collapse its content when the browser inner window width is changed.

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