FileManagerItemViewBuilder.Details(Action<FileManagerItemViewDetailsBuilder>) Method

Mirrors the client-side details option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public FileManagerItemViewBuilder Details(
    Action<FileManagerItemViewDetailsBuilder> configurator
)

Parameters

Name Type Description
configurator Action<FileManagerItemViewDetailsBuilder>

A function that configures the details view mode.

Returns

Type Description
FileManagerItemViewBuilder

A reference to this instance after the method is called.

Remarks

To configure the details view mode, use a lambda expression.

@(Html.DevExtreme().FileManager()
    .ItemView(view => view
        .Mode(FileManagerItemViewMode.Details)
        .Details(details => {
            details.Columns(columns => {
              columns.Add().DataField("thumbnail");
              columns.Add().DataField("name");
              //...
            )}
        )}
    )
)

Concepts

Online Demo

See Also