Skip to main content
Tab

FileManagerSettingsBreadcrumbs.Position Property

Gets or sets the breadcrumbs‘s position within a file manager.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(BreadcrumbsPosition.Top)]
public virtual BreadcrumbsPosition Position { get; set; }

Property Value

Type Default Description
BreadcrumbsPosition Top

One of the BreadcrumbsPosition enumeration values.

Available values:

Name Description
Top

The breadcrumbs are displayed at the top of the file area.

ASPxFileManager_BreadcrumbsPositionTop

Bottom

The breadcrumbs are displayed at the bottom of the file area.

ASPxFileManager_BreadcrumbsPositionBottom

Property Paths

You can access this nested property as listed below:

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

Remarks

The file manager displays breadcrumbs when the FileManagerSettingsBreadcrumbs.Visible property is set to true. Use the Position property to specify the breadcrumbs position in the file manager.

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