Kendo UI messages TagHelper PagerMessagesSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("messages", ParentTag = "kendo-pager", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class PagerMessagesSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBasePagerMessagesSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-pager name="pager">
<messages all-pages="All Pages"></messages>
</kendo-pager>
Constructors
Initializes a new instance of the PagerMessagesSettingsTagHelper class.
public PagerMessagesSettingsTagHelper()
Properties
The text displayed for the item that represents the allPages option when allPages is enabled.
public string AllPages { get; set; }
The pager info text. Uses kendo.format.Contains three placeholders: - {0} - the first data item index - {1} - the last data item index - {2} - the total number of data items
public string Display { get; set; }
The text displayed when the DataSource view does no contain items.
public string Empty { get; set; }
The tooltip of the button which navigates to the first page.
public string First { get; set; }
The label displayed after the page size DropDownList.
public string ItemsPerPage { get; set; }
The tooltip of the button which navigates to the last page.
public string Last { get; set; }
The tooltip of the button which navigates to the next page.
public string Next { get; set; }
The label displayed before the pager input. Uses kendo.format. Contains one optional placeholder {0} which represents the total number of pages.
public string Of { get; set; }
The title of the numeric link page buttons of the Pager. The parameters available for the template are: page - The page that will becomes selected when clicking the button..
public string PageButtonLabel { get; set; }
The label applied to the page size DropDownList.
public string PageSizeDropDownLabel { get; set; }
The tooltip of the button which navigates to the previous page.
public string Previous { get; set; }
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.