ScrollView
Kendo UI ScrollView component
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class ScrollView : WidgetBase, IHtmlAttributesContainer, INavigationItemComponent<ScrollViewItem>, INavigationItemContainer<ScrollViewItem>
Inheritance: objectWidgetBaseScrollView
Implements:
Inherited Members
Constructors
Initializes a new instance of the ScrollView class.
public ScrollView(ViewContext viewContext, INavigationItemAuthorization authorization)
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 that returns the template used for ARIATemplate
public string ARIATemplateHandler { get; set; }
The id of the script element used for ARIATemplate
public string ARIATemplateId { get; set; }
Authorization member.
public INavigationItemAuthorization Authorization { get; }
Implements:
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; }
Gets or sets the DataSource.
public DataSource DataSource { get; }
Gets or sets the DataSourceId.
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 that returns the template used for EmptyTemplate
public string EmptyTemplateHandler { get; set; }
The id of the script element used for 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; }
ItemAction member.
public Action<ScrollViewItem> ItemAction { get; set; }
Implements:
Items member.
public IList<ScrollViewItem> Items { get; }
Implements:
Defines the messages that are set as aria-lables for the previous and next buttons.
public ScrollViewMessagesSettings Messages { get; }
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; }
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; }
SecurityTrimming member.
public SecurityTrimming SecurityTrimming { get; set; }
Implements:
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 that returns the template used for Template
public string TemplateHandler { get; set; }
The id of the script element used for Template
public string TemplateId { get; set; }
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
Serializes the component settings to a dictionary.
public override IDictionary<string, object> Serialize()
A dictionary of settings.
Overrides:
SerializeSettings method.
protected override Dictionary<string, object> SerializeSettings()
Overrides:
Writes the HTML.
Writes the initialization script.
public override void WriteInitializationScript(TextWriter writer)
The TextWriter.
Overrides: