Kendo UI messages TagHelper GridPageableMessagesSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("messages", ParentTag = "pageable", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class GridPageableMessagesSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseGridPageableMessagesSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-grid name="grid">
<pageable>
<messages display="Items {0} - {1} of {2}"></messages>
</pageable>
</kendo-grid>
Constructors
Initializes a new instance of the GridPageableMessagesSettingsTagHelper class.
public GridPageableMessagesSettingsTagHelper()
Properties
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 tooltip of the button which goes 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 goes to the last page.
public string Last { get; set; }
The Tooltip of the ellipsis ("...") button, which appears when the number of pages is greater than the buttonCount.
public string MorePages { get; set; }
The Tooltip of the button which goes 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 Tooltip of the button which goes 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.