Back to Devexpress

TreeMapBuilder.MaxDepth(Double) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-treemapbuilder-dot-maxdepth-x28-system-dot-double-x29.md

latest1.3 KB
Original Source

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

csharp
public TreeMapBuilder MaxDepth(
    double value
)

Parameters

NameTypeDescription
valueDouble

The option value.

|

Returns

TypeDescription
TreeMapBuilder

A reference to this instance after the method is called.

|

Remarks

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

cshtml
@(Html.DevExtreme().TreeMap()
    .MaxDepth(10)
)

See Also

TreeMapBuilder Class

TreeMapBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace