ScrollView
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class ScrollView : WidgetBase, IWidget, IHtmlAttributesContainer, IScriptableComponent
Inheritance: objectWidgetBaseScrollView
Implements:
Inherited Members
Constructors
public ScrollView(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
Properties
Specifies a template is used to populate an aria-live element that anounces which is the current item.
public string ARIATemplate { get; set; }
The handler for the ARIATemplate
public string ARIATemplateHandler { get; set; }
The id for the ARIATemplate
public string ARIATemplateId { get; set; }
If set to false the widget will not bind to the DataSource during initialization.
public bool? AutoBind { get; set; }
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 double? BounceVelocityThreshold { get; set; }
The height of the ScrollView content.
public string ContentHeight { get; set; }
public DataSource DataSource { get; }
public string DataSourceId { get; set; }
The duration (in milliseconds) for the ScrollView to snap to the current page after the user releases it.
public double? Duration { get; set; }
The template for rendering the pages without content. By default, the ScrollView renders a blank page.
public string EmptyTemplate { get; set; }
The handler for the EmptyTemplate
public string EmptyTemplateHandler { get; set; }
The id for the EmptyTemplate
public string EmptyTemplateId { get; set; }
If set to true, the ScrollView will display a pager. By default, the pager is enabled.
public bool? EnablePager { get; set; }
public List<ScrollViewItem> Items { get; }
Defines the messages that are set as aria-lables for the previous and next buttons.
public ScrollViewMessagesSettings Messages { get; set; }
If set to true enables the built-in keyboard navigation
public bool? Navigatable { get; set; }
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 ScrollViewPageableSettings Pageable { get; set; }
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 string PagerOverlay { get; set; }
The template for rendering the content of the pages. By default, the ScrollView renders a div element for every page.
public string Template { get; set; }
The handler for the Template
public string TemplateHandler { get; set; }
The id for the Template
public string TemplateId { get; set; }
public IUrlGenerator UrlGenerator { get; }
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 double? VelocityThreshold { get; set; }
Methods
public override IDictionary<string, object> Serialize()
Overrides:
Writes the HTML.
protected override void WriteHtml(HtmlTextWriter writer)
Overrides:
Writes the initialization script.
public override void WriteInitializationScript(TextWriter writer)
The writer.
Overrides: