Skip to main content
Tab

FileManagerSettingsFileList.ShowParentFolder Property

Specifies the parent folder element visibility.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

[DefaultValue(false)]
public virtual bool ShowParentFolder { get; set; }

Property Value

Type Default Description
Boolean false

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

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowParentFolder
ASPxFileManager
.SettingsFileList .ShowParentFolder
RichEditDocumentSelectorSettings
.FileListSettings .ShowParentFolder
SpreadsheetDocumentSelectorSettings
.FileListSettings .ShowParentFolder

Remarks

Use the ShowParentFolder property to specify the visibility of the parent folder element, which allows end-users to move to one folder up.

ASPxFileManager_ParentFolder

Example

Web Forms (in markup):

<dx:ASPxFileManager ID="fileManager" runat="server" >
    <SettingsFileList ShowParentFolder="true" PageSize="300" />
    ...
</dx:ASPxFileManager>

Web Forms (in code):

ASPxFileManager fm = new ASPxFileManager();
...
fm.SettingsFileList.PageSize = 300;
fm.SettingsFileList.ShowParentFolder = true;

MVC:

@Html.DevExpress().FileManager( settings => {
    settings.Name = "fileManager";
    settings.SettingsFileList.PageSize = 300;
    settings.SettingsFileList.ShowParentFolder = true;
    ...
}).BindToFolder(Model).GetHtml()

Online Demo

See Also