Skip to content

Interface IPageable

Definition

Namespace: StardewUI.Layout
Assembly: StardewUI.dll

Signals that an IView implements paging controls.

public interface IPageable

Remarks

Paging controls are a gamepad function. While next/previous arrows are usually clickable and have their own navigation logic, controller users generally should be able to use the shoulder buttons to navigate pages, which this interface enables.

Members

Methods

Name Description
NextPage() Advance to the next page, within the current tab.
PreviousPage() Advance to the previous page, within the current tab.

Details

Methods

NextPage()

Advance to the next page, within the current tab.

bool NextPage();
Returns

Boolean

true if any navigation was performed; false if there are no more pages.


PreviousPage()

Advance to the previous page, within the current tab.

bool PreviousPage();
Returns

Boolean

true if any navigation was performed; false if there are no more pages.