FormBuilder<T>.ScrollingEnabled(JS) Method
In This Article
A Boolean value specifying whether to enable or disable form scrolling. Mirrors the client-side scrollingEnabled option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public FormBuilder<T> ScrollingEnabled(
JS value
)
#Parameters
Name | Type | Description |
---|---|---|
value | JS | A Java |
#Returns
Type | Description |
---|---|
Form |
A reference to this instance after the method is called. |
#Remarks
Use the new JS() expression to set the option’s value.
<script>
var myValue = ...;
</script>
@(Html.DevExtreme().Form()
.ScrollingEnabled(new JS("myValue"))
)
See Also