Skip to main content

TreeListBuilder<T> Class

A TreeList control.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public class TreeListBuilder<T> :
    WidgetBuilder

Type Parameters

Name Description
T

The data type.

The following members return TreeListBuilder objects:

Show 222 links

Remarks

Call the TreeList helper method to create a new TreeList control. The method creates a TreeListBuilder<T> class instance whose members allow you to specify control options.

@(Html.DevExtreme().TreeList() // create a TreeList
    // call methods to specify control options
)

To create a strongly-typed TreeList, specify a data model in the TreeList<T> method as a type parameter.

@(Html.DevExtreme().TreeList<SampleModel>() // create a strongly-typed TreeList
    // call methods to specify control options
)

Inheritance

See Also