Skip to main content

Desktop

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

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.

info

For a complete 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.

Application.Desktop = new MyDesktop();
warning

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.

Desktop control embedded within a Page showing layout integration

danger

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.

Desktop taskbar showing open form shortcuts and navigation

Advanced​

JavaScript Widget​

ItemDescription
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 codehttps://github.com/iceteagroup/wisej-js