Desktop
The Desktop control provides an easy-to-use container for Form navigation. Only one Desktop can be shown to a user at a time, but an unlimited number of Desktop controls can be created for each Wisej.NET application.
For a full list of properties, methods and events see the API documentation.
Features
Switch Desktop
Wisej.NET applications can contain an unlimited number of customized Desktop controls. To switch between desktops, set the Application.Desktop property.
- C#
Application.Desktop = new MyDesktop();
When working with multiple Desktop instances, the existing Forms on the page will be retained.
Child Control
The Desktop container can also be hosted on a Page control.
-59a2da5553c3864e25ba92671777b6b4.png)
Adding a Desktop control to any container other than a Page will throw an exception in the designer or at runtime.
Taskbar
The Taskbar portion of the Desktop control manages and displays open Forms. When a new Form is shown within the application, a shortcut is automatically created in the Desktop's taskbar.
-f08b2bc85f5a7ace728f8dcfe3148b7f.png)
Advanced
JavaScript Widget
| Item | Description |
|---|---|
| Class name | "wisej.web.Desktop", "wisej.web.desktop.Workspace", "wisej.web.desktop.TaskBar", and "wisej.web.desktop.TaskBarItem" |
| Theme appearance | "desktop", "desktop-taskbar-item", and "desktop-taskbar-preview" see Themes. |
| Child components | "workspace" represents the non-taskbar area of the desktop, "taskbar". See JavaScript. |
| Source code | https://github.com/iceteagroup/wisej-js |