Skip to main content

WidgetFactory<TModel>.TreeList() Method

Creates a TreeList control.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public TreeListBuilder<object> TreeList()

Returns

Type Description
TreeListBuilder<Object>

An instance of TreeListBuilder<T>

Remarks

This method creates a TreeListBuilder<T> class instance whose members can be used to specify TreeList options.

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