Skip to main content

FileManagerDetailsColumnBuilder.Alignment(HorizontalAlignment) Method

Specifies the column alignment. Mirrors the client-side alignment option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public FileManagerDetailsColumnBuilder Alignment(
    HorizontalAlignment value
)

Parameters

Name Type Description
value HorizontalAlignment

One of the enumeration value.

Returns

Type Description
FileManagerDetailsColumnBuilder

A reference to this instance after the method is called.

Remarks

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