Back to Devexpress

TreeListBuilder<T> Class

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-treelistbuilder-1.md

latest36.2 KB
Original Source

TreeListBuilder<T> Class

A TreeList control.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public class TreeListBuilder<T> :
    WidgetBuilder

Type Parameters

NameDescription
T

The data type.

|

The following members return TreeListBuilder<T> objects:

Show 225 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.

csharp
@(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.

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

Inheritance

Object OptionsOwnerBuilder WidgetBuilder TreeListBuilder<T>

See Also

TreeListBuilder<T> Members

DevExtreme.AspNet.Mvc.Builders Namespace