Page
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.
-995f2eb86dd98ab8a102dd29edd4b520.png)
For a complete list of properties, methods, and events, see the API documentation.
Page Navigation
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.
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:
- C#
Application.OpenPages["nameOfMyPage"].Show();
Setting MainPage
If a Page needs to be replaced, set the Application.MainPage property.
Setting Application.MainPage does not dispose of the previously displayed Page. It remains in Application.OpenPages and can be shown again later.
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
| Item | Description |
|---|---|
| Class name | "wisej.web.ScrollablePage" |
| Theme appearance | "page", see Themes. |
| Child components | "pane" is the page. See JavaScript. |
| Source code | https://github.com/iceteagroup/wisej-js |