FileManagerSettingsBreadcrumbs.ShowParentFolderButton Property
Specifies the visibility of the parent folder button in the breadcrumbs element.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to ShowParentFolderButton |
---|---|---|
ASP.NET Web Forms Controls | ASPxFileManager |
|
ASP.NET MVC Extensions | FileManagerSettings |
|
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.
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