Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TreeListBuilder<T> Class

A TreeList control.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

#Declaration

C#
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