Paginator
The Paginator can be used to navigate between different content pages.
Use
Use on any page where you want to switch between different content pages in a gallery.
Features
Devices with touch screen
Switch between configured content pages with a swipe gesture to the left or right.
Devices without touch screen
Navigation through the content pages is done via various controls. For this purpose, the functions GoForward and GoBackward are called by events of the controls (e.g. OnPressed).
Explanation using the example of two rectangles, which are positioned to the left and right of the Paginator respectively.
The properties window of the respective rectangle is used to configure the OnPressed event.
Then the function GoForward / GoBackward is added.
Attributes
The control inherits from TcHmiRegion and thus has the same attributes. The TargetContent attribute is replaced by the Pages attribute.
Pages
tchmi:framework#/definitions/TcHmi.BuildingAutomation.Controls.Paginator.Pages
Creating the pages to be navigated through.
Functions
GoForward
When the function is called, it navigates to the next page. If the navigation is currently on the last page, there is a change to the first page.
GoBackward
When the function is called, it navigates to the previous page. If the navigation is currently on the first page, there is a change to the last page.