Skip to main content

TreeMapBuilder.LayoutDirection(TreeMapLayoutDirection) Method

Specifies the direction in which the items will be laid out. Mirrors the client-side layoutDirection option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public TreeMapBuilder LayoutDirection(
    TreeMapLayoutDirection value
)

Parameters

Name Type Description
value TreeMapLayoutDirection

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()
    .LayoutDirection(TreeMapLayoutDirection.LeftBottomRightTop)
)
See Also