FileManagerSettingsFileList.ShowParentFolder Property
Specifies the parent folder element visibility.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false |
|
Property Paths
You can access this nested property as listed below:
Object Type | Path to ShowParentFolder |
---|---|
ASPxFileManager |
|
RichEditDocumentSelectorSettings |
|
SpreadsheetDocumentSelectorSettings |
|
Remarks
Use the ShowParentFolder property to specify the visibility of the parent folder element, which allows end-users to move to one folder up.
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