ScrollViewBuilder
Defines the fluent API for configuring the Kendo ScrollView for ASP.NET MVC.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ScrollViewBuilder : WidgetBuilderBase<ScrollView, ScrollViewBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<ScrollView, ScrollViewBuilder>ScrollViewBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the ScrollView class.
Methods
Specifies a template is used to populate an aria-live element that anounces which is the current item.
public ScrollViewBuilder ARIATemplate(string value)
The value that configures the ariatemplate.
Returns:Specifies a template is used to populate an aria-live element that anounces which is the current item.
public ScrollViewBuilder ARIATemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the ariatemplate.
Returns:Specifies a template is used to populate an aria-live element that anounces which is the current item.
public ScrollViewBuilder ARIATemplateHandler(string value)
The value that configures the ariatemplate.
Returns:Specifies a template is used to populate an aria-live element that anounces which is the current item.
public ScrollViewBuilder ARIATemplateId(string value)
The value that configures the ariatemplate.
Returns:Specifies a template is used to populate an aria-live element that anounces which is the current item.
public ScrollViewBuilder ARIATemplateView(MvcHtmlString value)
The value that configures the ariatemplate.
Returns:If set to false the widget will not bind to the DataSource during initialization.
public ScrollViewBuilder AutoBind(bool value)
The value that configures the autobind.
Returns:The intensity of the swipe after which the swipe will result in a bounce effect when the user scrolls to the next page. Higher values require more accelerative swipe to notice the bounce effect when a page is changed.
public ScrollViewBuilder BounceVelocityThreshold(double value)
The value that configures the bouncevelocitythreshold.
Returns:The height of the ScrollView content.
public ScrollViewBuilder ContentHeight(int value)
The value that configures the contentheight.
Returns:The height of the ScrollView content.
public ScrollViewBuilder ContentHeight(string value)
The value that configures the contentheight.
Returns:Instance of DataSource or the data that the mobile ScrollView will be bound to.
public ScrollViewBuilder DataSource(Action<ReadOnlyDataSourceBuilder> configurator)
The value that configures the datasource.
Returns:The duration (in milliseconds) for the ScrollView to snap to the current page after the user releases it.
public ScrollViewBuilder Duration(double value)
The value that configures the duration.
Returns:The template for rendering the pages without content. By default, the ScrollView renders a blank page.
public ScrollViewBuilder EmptyTemplate(string value)
The value that configures the emptytemplate.
Returns:The template for rendering the pages without content. By default, the ScrollView renders a blank page.
public ScrollViewBuilder EmptyTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the emptytemplate.
Returns:The template for rendering the pages without content. By default, the ScrollView renders a blank page.
public ScrollViewBuilder EmptyTemplateHandler(string value)
The value that configures the emptytemplate.
Returns:The template for rendering the pages without content. By default, the ScrollView renders a blank page.
public ScrollViewBuilder EmptyTemplateId(string value)
The value that configures the emptytemplate.
Returns:The template for rendering the pages without content. By default, the ScrollView renders a blank page.
public ScrollViewBuilder EmptyTemplateView(MvcHtmlString value)
The value that configures the emptytemplate.
Returns:If set to true, the ScrollView will display a pager. By default, the pager is enabled.
public ScrollViewBuilder EnablePager(bool value)
The value that configures the enablepager.
Returns:Configures the client-side events.
public ScrollViewBuilder Events(Action<ScrollViewEventBuilder> configurator)
The client events action.
Returns:Contains the items of the ScrollView widget
public ScrollViewBuilder Items(Action<ScrollViewItemFactory> configurator)
The action that configures the items.
Returns:Defines the messages that are set as aria-lables for the previous and next buttons.
public ScrollViewBuilder Messages(Action<ScrollViewMessagesSettingsBuilder> configurator)
The action that configures the messages.
Returns:If set to true enables the built-in keyboard navigation
If set to true enables the built-in keyboard navigation
public ScrollViewBuilder Navigatable(bool value)
The value that configures the navigatable.
Returns:The initial page that will be displayed.
public ScrollViewBuilder Page(double value)
The value that configures the page.
Returns:If set to true the grid will display a pager. By default paging is disabled.Can be set to a JavaScript object which represents the pager configuration.
If set to true the grid will display a pager. By default paging is disabled.Can be set to a JavaScript object which represents the pager configuration.
public ScrollViewBuilder Pageable(Action<ScrollViewPageableSettingsBuilder> configurator)
The action that configures the pageable.
Returns:If set to true the grid will display a pager. By default paging is disabled.Can be set to a JavaScript object which represents the pager configuration.
public ScrollViewBuilder Pageable(bool enabled)
Enables or disables the pageable option.
Returns:Sets an overlay background color for the pager. It can be configured to one of the three possible values: - none - no background overlay is set - dark - sets a dark-colored background overlay - light - sets a light-colored background overlay
public ScrollViewBuilder PagerOverlay(string value)
The value that configures the pageroverlay.
Returns:The template for rendering the content of the pages. By default, the ScrollView renders a div element for every page.
public ScrollViewBuilder Template(string value)
The value that configures the template.
Returns:The template for rendering the content of the pages. By default, the ScrollView renders a div element for every page.
public ScrollViewBuilder Template<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:The template for rendering the content of the pages. By default, the ScrollView renders a div element for every page.
public ScrollViewBuilder TemplateHandler(string value)
The value that configures the template.
Returns:The template for rendering the content of the pages. By default, the ScrollView renders a div element for every page.
public ScrollViewBuilder TemplateId(string value)
The value that configures the template.
Returns:The template for rendering the content of the pages. By default, the ScrollView renders a div element for every page.
public ScrollViewBuilder TemplateView(MvcHtmlString value)
The value that configures the template.
Returns:The length of the horizontal swipe after which a swipe will navigate to the next page - as opposed to snapping back to the current page. Higher values require long area swipes to navigate to the next page.
public ScrollViewBuilder VelocityThreshold(double value)
The value that configures the velocitythreshold.
Returns: