Skip to main content
Tab

FileManagerSettingsBreadcrumbs.ShowParentFolderButton Property

Specifies the visibility of the parent folder button in the breadcrumbs element.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

NuGet Package: DevExpress.Web

#Declaration

[DefaultValue(true)]
public virtual bool ShowParentFolderButton { get; set; }

#Property Value

Type Default Description
Boolean true

true, if the parent folder button is visible, otherwise, false.

#Property Paths

You can access this nested property as listed below:

Library Object Type Path to ShowParentFolderButton
ASP.NET MVC Extensions FileManagerSettings
.SettingsBreadcrumbs .ShowParentFolderButton
ASP.NET Web Forms Controls ASPxFileManager
.SettingsBreadcrumbs .ShowParentFolderButton

#Remarks

The file manager displays breadcrumbs when the FileManagerSettingsBreadcrumbs.Visible property is set to true. Use the ShowParentFolderButton property to specify the visibility of the parent folder button, which allows end-users to move to one folder up.

ASPxFileManager_Breadcrumbs

#Example

Web Forms (in markup):

<dx:ASPxFileManager ID="fileManager" runat="server" >
    ...
    <SettingsBreadcrumbs Visible="true" ShowParentFolderButton="true" Position="Top" />
</dx:ASPxFileManager>

Web Forms (in code):

ASPxFileManager fm = new ASPxFileManager();
...
fm.SettingsBreadcrumbs = FileListView.Details;
fm.SettingsBreadcrumbs.Visible = true;
fm.SettingsBreadcrumbs.ShowParentFolderButton = true;
fm.SettingsBreadcrumbs.Position = BreadcrumbsPosition.Top;

MVC:

@Html.DevExpress().FileManager( settings => {
    settings.Name = "fileManager";
    settings.SettingsBreadcrumbs = FileListView.Details;
    settings.SettingsBreadcrumbs.Visible = true;
    settings.SettingsBreadcrumbs.ShowParentFolderButton = true;
    settings.SettingsBreadcrumbs.Position = BreadcrumbsPosition.Top;
    ...
}).BindToFolder(Model).GetHtml()

#Online Demo

See Also