Back to Devexpress

TreeMapBuilder.LayoutDirection(TreeMapLayoutDirection) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-treemapbuilder-dot-layoutdirection-x28-devextreme-dot-aspnet-dot-mvc-dot-treemaplayoutdirection-x29.md

latest1.4 KB
Original Source

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

csharp
public TreeMapBuilder LayoutDirection(
    TreeMapLayoutDirection value
)

Parameters

NameTypeDescription
valueTreeMapLayoutDirection

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

See Also

TreeMapBuilder Class

TreeMapBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace