Class Pagination
public class Pagination : BasePagination, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IPostBackDataHandler
- Inheritance
-
Pagination
- Implements
- Inherited Members
Constructors
Pagination()
public Pagination()
Fields
DefaultDescription
public const string DefaultDescription = "Page <strong>{0:n0}</strong> of <strong>{1:n0}</strong> - Items <strong>{2:n0}</strong> to <strong>{3:n0}</strong> of <strong>{4:n0}</strong>"
Field Value
Properties
Description
public string Description { get; set; }
Property Value
EndItem
public int EndItem { get; }
Property Value
ItemsCount
public int ItemsCount { get; set; }
Property Value
ItemsSkip
public int ItemsSkip { get; }
Property Value
ItemsTake
public int ItemsTake { get; }
Property Value
PageCount
public int PageCount { get; }
Property Value
PageGroupSize
public int PageGroupSize { get; set; }
Property Value
PageIndex
public int PageIndex { get; set; }
Property Value
PageSize
public int PageSize { get; set; }
Property Value
StartItem
public int StartItem { get; }
Property Value
Methods
OnPageChanged(int)
protected override void OnPageChanged(int page)
Parameters
pageint
Events
PageChanged
public event Pagination.PageChangedEventHandler PageChanged