Kendo UI pageable TagHelper ScrollViewPageableSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("pageable", ParentTag = "kendo-scrollview", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("aria-template", new string[] { })]
[SuppressTagRendering]
public class ScrollViewPageableSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent, ITemplateComponent
Inheritance: objectTagHelperTagHelperChildBaseScrollViewPageableSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-scrollview name="scrollview">
<pageable aria-template="Item #=data.index#"></pageable>
</kendo-scrollview>
Child Tags
Constructors
Initializes a new instance of the ScrollViewPageableSettingsTagHelper class.
public ScrollViewPageableSettingsTagHelper()
Properties
Specifies a template is used to populate the aria-label for each pager element.
public string ARIATemplate { get; set; }
Specifies a template is used to populate the aria-label for each pager element. This option expects the name of a JavaScript function that will be called to return the template.
public string ARIATemplateHandler { get; set; }
Specifies a template is used to populate the aria-label for each pager element. This option expects the ID of the script element that contains the template.
public string ARIATemplateId { get; set; }
Specifies a template is used to populate the aria-label for each pager element. This option expects the IHtmlContent instance containing the created HTML.
public IHtmlContent ARIATemplateView { get; set; }
Configures the templates for the component.
[HtmlAttributeNotBound]
public IDictionary<string, string> Templates { get; }
Implements:
Methods
Adds the current TagHelper instance to its parent TagHelper.
protected override void AddSelfToParent(TagHelperContext context)
The TagHelper context.
Overrides:
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.