Back to Devexpress

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

aspnetmvc-devexpress-dot-web-dot-mvc-dot-ui-dot-extensionsfactory-dot-treelist-1-x28-devexpress-dot-web-dot-mvc-dot-treelistsettings-0-x29.md

latest2.4 KB
Original Source

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

Creates a TreeList.

Namespace : DevExpress.Web.Mvc.UI

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

NuGet Package : DevExpress.Web.Mvc5

Declaration

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

Parameters

NameTypeDescription
settingsTreeListSettings<RowType>

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

|

Type Parameters

Name
RowType

Returns

TypeDescription
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

Tree List

Column Binding Via LambdasOnline demo:

ExtensionsFactory Class

ExtensionsFactory Members

DevExpress.Web.Mvc.UI Namespace