Back to Devexpress

TreeListBuilder<T>.ColumnResizingMode(ColumnResizingMode) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-treelistbuilder-1-dot-columnresizingmode-x28-devextreme-dot-aspnet-dot-mvc-dot-columnresizingmode-x29.md

latest1.4 KB
Original Source

TreeListBuilder<T>.ColumnResizingMode(ColumnResizingMode) Method

Specifies how the UI component resizes columns. Applies only if allowColumnResizing is true. Mirrors the client-side columnResizingMode option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public TreeListBuilder<T> ColumnResizingMode(
    ColumnResizingMode value
)

Parameters

NameTypeDescription
valueColumnResizingMode

The option value.

|

Returns

TypeDescription
TreeListBuilder<T>

A reference to this instance after the method is called.

|

Remarks

Use the following notation to set the option’s value:

cshtml
@(Html.DevExtreme().TreeList()
    .ColumnResizingMode(ColumnResizingMode.NextColumn)
)

See Also

TreeListBuilder<T> Class

TreeListBuilder<T> Members

DevExtreme.AspNet.Mvc.Builders Namespace