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
public TreeMapBuilder LayoutAlgorithm(
TreeMapLayoutAlgorithm value
)
Parameters
Name | Type | Description |
---|---|---|
value | TreeMapLayoutAlgorithm | 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()
.LayoutAlgorithm(TreeMapLayoutAlgorithm.SliceAndDice)
)
See Also