TreeViewBuilder.ScrollDirection(ScrollDirection) Method
In This Article
A string value specifying available scrolling directions. Mirrors the client-side scrollDirection option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public TreeViewBuilder ScrollDirection(
ScrollDirection value
)
#Parameters
Name | Type | Description |
---|---|---|
value | Scroll |
The option value. |
#Returns
Type | Description |
---|---|
Tree |
A reference to this instance after the method is called. |
#Remarks
Use the following notation to set the option’s value:
@(Html.DevExtreme().TreeView()
.ScrollDirection(ScrollDirection.Both)
)
See Also