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

TreeListBuilder<T>.ID(String) Method

Specifies an HTML id for the widget's root element.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public TreeListBuilder<T> ID(
    string id
)

Parameters

Name Type Description
id String

Returns

Type Description
TreeListBuilder<T>

Remarks

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

@Html.DevExtreme().TreeList().ID(...)
See Also