Skip to main content
A newer version of this page is available. .
Tab

FileManagerFileListDetailsViewSettings.SettingsCommandColumn Property

Provides access to the settings of the command column in the file manager’s details view mode.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

public FileManagerDetailsCommandColumnSettings SettingsCommandColumn { get; }

Property Value

Type Description
FileManagerDetailsCommandColumnSettings

An FileManagerDetailsCommandColumnSettings object containing the command column options.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to SettingsCommandColumn
ASP.NET Controls and MVC Extensions HtmlEditorDocumentSelectorFileListSettings
.DetailsViewSettings .SettingsCommandColumn
HtmlEditorFileManagerFileListSettings
.DetailsViewSettings .SettingsCommandColumn
FileManagerSettingsFileList
.DetailsViewSettings .SettingsCommandColumn
ASP.NET MVC Extensions MVCxFileManagerSettingsFileList
.DetailsViewSettings .SettingsCommandColumn

Remarks

The file manager displays the command column in details view mode when the FileManagerSettings.EnableMultiSelect is set to true.

Example

Web Forms (declaratively):

<dx:ASPxFileManager ID="fileManager" runat="server" >
    <SettingsFileList View="Details">
        <DetailsViewSettings AllowColumnDragDrop="true">
            <SettingsAdaptivity Mode="HideDataCells" AllowHideDataCellsByColumnMinWidth="true" />
            <SettingsCommandColumn AllowDragDrop="True" />
        </DetailsViewSettings>
    </SettingsFileList>
    ...
</dx:ASPxFileManager>

Web Forms (in code):

ASPxFileManager fm = new ASPxFileManager();
...
fm.SettingsFileList.View = FileListView.Details;
fm.SettingsFileList.DetailsViewSettings.AllowColumnDragDrop = true;
fm.SettingsFileList.DetailsViewSettings.SettingsAdaptivity.Mode = FileManagerDetailsViewAdaptivityMode.HideDataCells;
fm.SettingsFileList.DetailsViewSettings.SettingsCommandColumn.AllowDragDrop = true;

MVC:

@Html.DevExpress().FileManager( settings => {
    settings.Name = "fileManager";
    settings.SettingsFileList.View = FileListView.Details;
    settings.SettingsFileList.DetailsViewSettings.AllowColumnDragDrop = true;
    settings.SettingsFileList.DetailsViewSettings.SettingsAdaptivity.Mode = FileManagerDetailsViewAdaptivityMode.HideDataCells;
    settings.SettingsFileList.DetailsViewSettings.SettingsCommandColumn.AllowDragDrop = true;
    ...
}).BindToFolder(Model).GetHtml()
See Also