Skip to main content

ExtensionsFactory.TreeList<RowType>(TreeListSettings<RowType>) Method

Creates a TreeList.

Namespace: DevExpress.Web.Mvc.UI

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public TreeListExtension<RowType> TreeList<RowType>(
    TreeListSettings<RowType> settings
)
    where RowType : class

Parameters

Name Type Description
settings TreeListSettings<RowType>

A TreeListSettings<RowType> object containing the TreeList extension settings.

Type Parameters

Name
RowType

Returns

Type Description
TreeListExtension<RowType>

A TreeListExtension<RowType> object implementing the TreeList functionality.

Remarks

To enable binding TreeList columns to Model fields using lambdas, it is required to declare the TreeList extension using the TreeList<RowType> strongly-typed declaration method.

Note

The partial View with the TreeList extension does not need to be strongly-typed.

See Also