TreeListScrollingBuilder.Mode(TreeListScrollingMode) Method
Specifies the scrolling mode. Mirrors the client-side mode option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public TreeListScrollingBuilder Mode(
TreeListScrollingMode value
)
Parameters
Name | Type | Description |
---|---|---|
value | TreeListScrollingMode | The option value. |
Returns
Type | Description |
---|---|
TreeListScrollingBuilder | A reference to this instance after the method is called. |
Remarks
Use the following notation to set the option’s value:
@(Html.DevExtreme().TreeList()
.Scrolling(scrolling => scrolling
.Mode(TreeListScrollingMode.Standard)
)
)
See Also