Prev Next Nav
Previous and next page links for the foot of a page.
Installation
bash
shellui-native add prev-next-nav
Platforms: MAUI · Avalonia.
Usage
Basic
Two bordered cards side by side, each a small "Previous" or "Next" over the page's name. A side with no label is left empty, so the first page of a series shows only the next link:
xml
<ui:PrevNextNav NextLabel="Installation" NextClicked="OnNext" />
PreviousText and NextText change the small words, for another language for example.
MAUI and Avalonia
On Avalonia the cards are tab stops, pressed with Enter or Space.
API
| Property | Type | Default | Description |
|---|---|---|---|
PreviousLabel |
string |
— | Name of the previous page; empty leaves that side out. |
NextLabel |
string |
— | Name of the next page; empty leaves that side out. |
PreviousText |
string |
"Previous" |
The small word over the previous page's name. |
NextText |
string |
"Next" |
The small word over the next page's name. |
| Event | Arguments | Description |
|---|---|---|
PreviousClicked |
— | The previous card was pressed. |
NextClicked |
— | The next card was pressed. |