The requested page is not available for the requested platform. You are viewing the content for Default platform.

TreeViewBuilder.Items(Action<CollectionFactory<TreeViewItemBuilder>>) Method

This method sets the client-side items option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public TreeViewBuilder Items(
    Action<CollectionFactory<TreeViewItemBuilder>> configurator
)

Parameters

Name Type Description
configurator Action<CollectionFactory<TreeViewItemBuilder>>

Returns

Type Description
TreeViewBuilder

Remarks

In Razor files, use the following notation to set the option's value:

@Html.DevExtreme().TreeView().Items(...)
See Also