Skip to main content

TreeMapBuilder.MaxDepth(Double) Method

Specifies how many hierarchical levels must be visualized. Mirrors the client-side maxDepth option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public TreeMapBuilder MaxDepth(
    double value
)

Parameters

Name Type Description
value Double

The option value.

Returns

Type Description
TreeMapBuilder

A reference to this instance after the method is called.

Remarks

Use the following notation to set the option’s value:

@(Html.DevExtreme().TreeMap()
    .MaxDepth(10)
)
See Also