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

Creates a TreeList.

Namespace: DevExpress.Web.Mvc.UI

Assembly: DevExpress.Web.Mvc5.v20.2.dll

Declaration

public TreeListExtension<RowType> TreeList<RowType>(
    TreeListSettings<RowType> settings
)
    where RowType : class
Public Function TreeList(Of RowType As Class)(
    settings As TreeListSettings(Of RowType)
) As TreeListExtension(Of RowType)

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