Kendo.Mvc.UI.Fluent.ScrollViewBuilder

Defines the fluent API for configuring the Kendo ScrollView for ASP.NET MVC.

Methods

AutoBind(System.Boolean)

If set to false the widget will not bind to the DataSource during initialization.Applicable only in data bound mode.

Parameters

value System.Boolean

The value that configures the autobind.

BounceVelocityThreshold(System.Double)

The intensity of the swipe after which the swipe will result in a bounce effect when user scrolls to next page. Higher values will require more accelerative swipe to notice the bounce effect when a page is changed.

Parameters

value System.Double

The value that configures the bouncevelocitythreshold.

Duration(System.Double)

The milliseconds that take the ScrollView to snap to the current page after released.

Parameters

value System.Double

The value that configures the duration.

EmptyTemplate(System.String)

The template which is used to render the pages without content. By default the ScrollView renders a blank page.Applicable only in data bound mode.

Parameters

value System.String

The value that configures the emptytemplate.

EmptyTemplateId(System.String)

The template which is used to render the pages without content. By default the ScrollView renders a blank page.Applicable only in data bound mode.

Parameters

value System.String

The value that configures the emptytemplate.

EnablePager(System.Boolean)

If set to true the ScrollView will display a pager. By default pager is enabled.

Parameters

value System.Boolean

The value that configures the enablepager.

Page(System.Double)

The initial page to display.

Parameters

value System.Double

The value that configures the page.

Template(System.String)

The template which is used to render the content of pages. By default the ScrollView renders a div element for every page.Applicable only in data bound mode.

Parameters

value System.String

The value that configures the template.

TemplateId(System.String)

The template which is used to render the content of pages. By default the ScrollView renders a div element for every page.Applicable only in data bound mode.

Parameters

value System.String

The value that configures the template.

VelocityThreshold(System.Double)

The length of horizotal swipe after which a swipe will navigate to the next page (as opposed to snapping back to the current page). Higher values will require long area swipe in order to navigate to the next page.

Parameters

value System.Double

The value that configures the velocitythreshold.

ContentHeight(System.String)

The height of the ScrollView content.

Parameters

value System.String

The value that configures the contentheight.

Items(System.Action<Kendo.Mvc.UI.Fluent.ScrollViewItemFactory>)

Contains the items of the ScrollView widget

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.ScrollViewItemFactory>

The action that configures the items.

ContentHeight(System.Int32)

The height of the ScrollView content.

Parameters

value System.Int32

The value that configures the contentheight.

DataSource(System.Action<Kendo.Mvc.UI.Fluent.ReadOnlyDataSourceBuilder>)

Instance of DataSource or the data that the mobile ScrollView will be bound to.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.ReadOnlyDataSourceBuilder>

The value that configures the datasource.

Events(System.Action<Kendo.Mvc.UI.Fluent.ScrollViewEventBuilder>)

Configures the client-side events.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.ScrollViewEventBuilder>

The client events action.

Example (ASPX)

<%= Html.Kendo().ScrollView()
    .Name("ScrollView")
    .Events(events => events
        .Change("onChange")
    )
%>
In this article
Not finding the help you need?