A2v10 Platform documentation
UK


Pager Control

Represents an item for page navigation. Typically used for the entire Page and set as the Pager property.

The component itself does not use any collections. For this, the CollectionView component is always used.

Inherits: UIElementBase

Properties

Name Type Description
Source Object Source collection. Always a binding. If used in conjunction with a CollectionView, then the binding will be Source="{Bind Parent.Pager}"
Style PagerStyle Display style. Possible values:
  • Default - (by default) regular buttons.
  • Rounded - round buttons.
EmptyText String The text that will be displayed on the right side of the item if the collection is empty. If not specified, the text "no items" is displayed (based on the current localization).
TemplateText String The text to be displayed on the right side of the element. Macros are allowed in the text:
#[Start] Number of the first item on the page.
#[End] Number of the last item on the page.
#[Count] Quantity of the items in the collection.
If the property is not specified, the text "elements #[Start]-#[End] from #[Count]" is displayed (based on the current localization).
Base item properties

Example

Just a display example (non-functional)

elements: 1-20 from 50