Skip to main content

ScrollViewBuilder Methods

A ScrollView control.
Name Description
BounceEnabled(JS) A Boolean value specifying whether to enable or disable the bounce-back effect. Mirrors the client-side bounceEnabled option.
BounceEnabled(Boolean) A Boolean value specifying whether to enable or disable the bounce-back effect. Mirrors the client-side bounceEnabled option.
Content(RazorBlock) Specifies content for a ScrollView control.
Content(String) Specifies content for a ScrollView control.
Direction(ScrollDirection) A string value specifying the available scrolling directions. Mirrors the client-side direction option.
Disabled(JS) Specifies whether the UI component responds to user interaction. Mirrors the client-side disabled option.
Disabled(Boolean) Specifies whether the UI component responds to user interaction. Mirrors the client-side disabled option.
ElementAttr(JS) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(Dictionary<String, Object>) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(Object) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(String, Object) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
Height(JS) Specifies the UI component's height. Mirrors the client-side height option.
Height(Double) Specifies the UI component's height. Mirrors the client-side height option.
Height(String) Specifies the UI component's height. Mirrors the client-side height option.
ID(JS) Specifies the id attribute for the control’s HTML element (used for nested controls within templates).
ID(String) Specifies the id attribute for the control’s HTML element.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
OnDisposing(RazorBlock) A function that is executed before the UI component is disposed of. Mirrors the client-side onDisposing option.
OnDisposing(String) A function that is executed before the UI component is disposed of. Mirrors the client-side onDisposing option.
OnInitialized(RazorBlock) A function used in JavaScript frameworks to save the UI component instance. Mirrors the client-side onInitialized option.
OnInitialized(String) A function used in JavaScript frameworks to save the UI component instance. Mirrors the client-side onInitialized option.
OnOptionChanged(RazorBlock) A function that is executed after a UI component property is changed. Mirrors the client-side onOptionChanged option.
OnOptionChanged(String) A function that is executed after a UI component property is changed. Mirrors the client-side onOptionChanged option.
OnPullDown(RazorBlock) A function that is executed when the 'pull to refresh' gesture is performed. Supported on mobile devices only. Mirrors the client-side onPullDown option.
OnPullDown(String) A function that is executed when the 'pull to refresh' gesture is performed. Supported on mobile devices only. Mirrors the client-side onPullDown option.
OnReachBottom(RazorBlock) A function that is executed when the content is scrolled down to the bottom. Mirrors the client-side onReachBottom option.
OnReachBottom(String) A function that is executed when the content is scrolled down to the bottom. Mirrors the client-side onReachBottom option.
OnScroll(RazorBlock) A function that is executed on each scroll gesture. Mirrors the client-side onScroll option.
OnScroll(String) A function that is executed on each scroll gesture. Mirrors the client-side onScroll option.
OnUpdated(RazorBlock) A function that is executed each time the UI component is updated. Mirrors the client-side onUpdated option.
OnUpdated(String) A function that is executed each time the UI component is updated. Mirrors the client-side onUpdated option.
Option(String, Object) Specifies an option by its name.
PulledDownText(JS) Specifies the text shown in the pullDown panel when pulling the content down lowers the refresh threshold. Mirrors the client-side pulledDownText option.
PulledDownText(String) Specifies the text shown in the pullDown panel when pulling the content down lowers the refresh threshold. Mirrors the client-side pulledDownText option.
PullingDownText(JS) Specifies the text shown in the pullDown panel while pulling the content down to the refresh threshold. Mirrors the client-side pullingDownText option.
PullingDownText(String) Specifies the text shown in the pullDown panel while pulling the content down to the refresh threshold. Mirrors the client-side pullingDownText option.
ReachBottomText(JS) Specifies the text shown in the pullDown panel displayed when content is scrolled to the bottom. Mirrors the client-side reachBottomText option.
ReachBottomText(String) Specifies the text shown in the pullDown panel displayed when content is scrolled to the bottom. Mirrors the client-side reachBottomText option.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RefreshingText(JS) Specifies the text shown in the pullDown panel displayed when the content is being refreshed. Mirrors the client-side refreshingText option.
RefreshingText(String) Specifies the text shown in the pullDown panel displayed when the content is being refreshed. Mirrors the client-side refreshingText option.
Render() Inherited from WidgetBuilder.
RtlEnabled(JS) Switches the UI component to a right-to-left representation. Mirrors the client-side rtlEnabled option.
RtlEnabled(Boolean) Switches the UI component to a right-to-left representation. Mirrors the client-side rtlEnabled option.
ScrollByContent(JS) A Boolean value specifying whether or not an end user can scroll the UI component content swiping it up or down. Applies only if useNative is false Mirrors the client-side scrollByContent option.
ScrollByContent(Boolean) A Boolean value specifying whether or not an end user can scroll the UI component content swiping it up or down. Applies only if useNative is false Mirrors the client-side scrollByContent option.
ScrollByThumb(JS) Specifies whether a user can scroll the content with the scrollbar. Applies only if useNative is false. Mirrors the client-side scrollByThumb option.
ScrollByThumb(Boolean) Specifies whether a user can scroll the content with the scrollbar. Applies only if useNative is false. Mirrors the client-side scrollByThumb option.
ShowScrollbar(ShowScrollbarMode) Specifies when the UI component shows the scrollbar. Mirrors the client-side showScrollbar option.
ToString() Inherited from WidgetBuilder.
ToTemplate() Renders the control as a template string for use in another control’s template. Inherited from WidgetBuilder.
UseNative(JS) Indicates whether to use native or simulated scrolling. Mirrors the client-side useNative option.
UseNative(Boolean) Indicates whether to use native or simulated scrolling. Mirrors the client-side useNative option.
Width(JS) Specifies the UI component's width. Mirrors the client-side width option.
Width(Double) Specifies the UI component's width. Mirrors the client-side width option.
Width(String) Specifies the UI component's width. Mirrors the client-side width option.
See Also