Back to Devexpress

TreeMapBuilder.LayoutAlgorithm(TreeMapLayoutAlgorithm) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-treemapbuilder-dot-layoutalgorithm-x28-devextreme-dot-aspnet-dot-mvc-dot-treemaplayoutalgorithm-x29.md

latest1.4 KB
Original Source

TreeMapBuilder.LayoutAlgorithm(TreeMapLayoutAlgorithm) Method

Specifies the layout algorithm. Mirrors the client-side layoutAlgorithm option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public TreeMapBuilder LayoutAlgorithm(
    TreeMapLayoutAlgorithm value
)

Parameters

NameTypeDescription
valueTreeMapLayoutAlgorithm

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()
    .LayoutAlgorithm(TreeMapLayoutAlgorithm.SliceAndDice)
)

See Also

TreeMapBuilder Class

TreeMapBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace