Skip to main content
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.v24.1.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:

Object Type Path to SettingsCommandColumn
FileManagerSettingsFileList
.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 (in markup):

<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