Pager Elements
- 2 minutes to read
This topic describes the ASPxPager elements visible on screen. Each section contains a screenshot and a brief overview of the element’s function.
The following visual elements are available:
- Navigation Buttons
- Page Numbers
- Summary
- Separator
- Page Size Item
Navigation Buttons
Navigation buttons allow users to switch between pages. There are five navigation buttons:
- First - navigates a user to the first page;
- Previous - navigates a user to the previous page;
- Next - navigates a user to the next page;
- Last - navigates a user to the last page;
- All - displays the content of all the pages within a view.
The table below lists the main members that affect the element’s appearance and functionality:
Characteristics | Members |
---|---|
Button Settings | ASPxPagerBase.AllButton, ASPxPagerBase.FirstPageButton, ASPxPagerBase.PrevPageButton, ASPxPagerBase.NextPageButton, ASPxPagerBase.LastPageButton |
Style | ASPxPagerBase.ButtonStyle, ASPxPagerBase.DisabledButtonStyle |
Visibility | PagerButtonProperties.Visible, ASPxPagerBase.ShowDisabledButtons |
Page Numbers
The pager can display page numbers as links to navigate users directly to a required page.
The table below lists the main members that affect the element’s appearance and functionality:
Characteristics | Members |
---|---|
Format | ASPxPagerBase.PageNumberFormat, ASPxPagerBase.CurrentPageNumberFormat |
Count | ASPxPagerBase.NumericButtonCount, ASPxPagerBase.EllipsisMode |
Style | ASPxPagerBase.PageNumberStyle, ASPxPagerBase.CurrentPageNumberStyle |
Visibility | ASPxPagerBase.ShowNumericButtons |
SEOFrindly mode | ASPxPager.SeoFriendly, ASPxPager.SeoNavigateUrlFormatString |
Summary
The Summary indicates which page is selected, and the total number of pages.
The table below lists the main members that affect the element’s appearance and functionality:
Characteristics | Members |
---|---|
Text | PagerButtonProperties.Text, SummaryProperties.AllPagesText |
Position | SummaryProperties.Position |
Visibility | PagerButtonProperties.Visible |
Separator
Separators are used to separate Page Numbers.
The table below lists the main members that affect the element’s appearance and functionality:
Characteristics | Members |
---|---|
Size, Layout | ASPxPagerBase.SeparatorHeight, ASPxPagerBase.SeparatorWidth, ASPxPagerBase.SeparatorPaddings |
Appearance | ASPxPagerBase.SeparatorBackgroundImage, ASPxPagerBase.SeparatorColor |
Visibility | ASPxPagerBase.ShowSeparators |
Page Size Item
The Page Size Item specifies the number of items displayed per page.
The table below lists the main members that affect the element’s appearance and functionality:
Characteristics | Members |
---|---|
Position | PageSizeItemSettings.Position |
Visibility | PagerButtonProperties.Visible |
The Page Size Item contains the following elements.
The table below lists the main elements and their members, which affect the elements’ appearance and functionality: