Skip to main content
Tab

FileManagerSettingsToolbar.SettingsAdaptivity Property

Provides access to the file manager’s adaptivity settings.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.1.dll

Declaration

public FileManagerToolbarAdaptivitySettings SettingsAdaptivity { get; }

Property Value

Type Description
FileManagerToolbarAdaptivitySettings

A FileManagerToolbarAdaptivitySettings object that contains the adaptivity settings.

Property Paths

You can access this nested property as listed below:

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

Remarks

Concept

Example

Web Forms (in markup):

<dx:ASPxFileManager ID="FileManager" ClientInstanceName="FileManager" runat="server" />
    <SettingsToolbar>
        <Items>
            ...
        </Items>
          <AdaptiveToolbarImage Height="13" Width="13" Url="../Images/Adaptivity/Toolbar.png" ToolTip="Toolbar" AlternateText="Toolbar" />
        <SettingsAdaptivity EnableAutoHideRootItems="true" />
    </SettingsToolbar>
</dx:ASPxFileManager>

Web Forms (in code):

ASPxFileManager fm = new ASPxFileManager();
...
fm.SettingsToolbar.AdaptiveToolbarImage.Height = Unit.Pixel(13);
fm.SettingsToolbar.AdaptiveToolbarImage.Width = Unit.Pixel(13);
fm.SettingsToolbar.AdaptiveToolbarImage.Url = Url.Content("../Images/Adaptivity/Toolbar.png"); 
fm.SettingsToolbar.AdaptiveToolbarImage.ToolTip = "Toolbar";
fm.SettingsToolbar.AdaptiveToolbarImage.AlternateText="Toolbar";
fm.SettingsToolbar.SettingsAdaptivity.EnableAutoHideRootItems = true;

MVC:

@Html.DevExpress().FileManager( settings => {
    settings.Name = "fileManager";

    settings.SettingsToolbar.AdaptiveToolbarImage.Height = Unit.Pixel(13);
    settings.SettingsToolbar.AdaptiveToolbarImage.Width = Unit.Pixel(13);
    settings.SettingsToolbar.AdaptiveToolbarImage.Url = Url.Content("../Images/Adaptivity/Toolbar.png"); 
    settings.SettingsToolbar.AdaptiveToolbarImage.ToolTip = "Toolbar";
    settings.SettingsToolbar.AdaptiveToolbarImage.AlternateText="Toolbar";
    settings.SettingsToolbar.SettingsAdaptivity.EnableAutoHideRootItems = true;
    ...
}).BindToFolder(Model).GetHtml()
See Also