Skip to main content

Page

WATCH & LEARN0:48 · Animated tutorial
7 scenesPlay, pause, or scrub at your own pace

The Page control is the center point of activity in a Wisej.NET application. It's a container used to show content to a user (alongside the Form and Desktop).

Only one Page can be shown to the user at a time.

Page designer showing full-browser layout capabilities

info

For a complete list of properties, methods, and events, see the API documentation.

There are several ways to navigate between pages in a Wisej.NET application.

Show()​

Using the Show() method on a Page instance will show the page to the user, replacing any previously-displayed page.

info

Calling Show() does not dispose of the previously displayed Page. It remains in Application.OpenPages and can be shown again later.

Showing a previously-hidden Page:​

Application.OpenPages["nameOfMyPage"].Show();

Setting MainPage​

If a Page needs to be replaced, set the Application.MainPage property.

info

Setting Application.MainPage does not dispose of the previously displayed Page. It remains in Application.OpenPages and can be shown again later.

warning

Switching the application's page will not affect the shown Form instances.

Features​

AutoScroll​

The AutoScroll property of the Page control determines whether scroll bars automatically appear when the control contents exceed its visible area.

Advanced​

JavaScript Widget​

ItemDescription
Class name"wisej.web.ScrollablePage"
Theme appearance"page", see Themes.
Child components"pane" is the page. See JavaScript.
Source codehttps://github.com/iceteagroup/wisej-js