Skip to main content

WidgetFactory<TModel>.TreeView() Method

Creates a TreeView control.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public TreeViewBuilder TreeView()

Returns

Type Description
TreeViewBuilder

An instance of TreeViewBuilder.

Remarks

This method creates a TreeViewBuilder class instance whose members can be used to specify TreeView options.

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