Skip to main content
Version: 3.5

Desktop

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents a desktop container that can host floating windows.

public class Desktop : ContainerControl, IWisejWindow, IWisejDesignTarget

Constructors

Instance memberDesktop()

Initializes a new instance of the Desktop class.

Properties

Instance memberActive

Boolean: Returns true if this desktop instance is the currently active desktop. It is the same as comparing the instance with Desktop.

Instance memberAutoHideTaskbar

Boolean: Returns or sets whether the taskbar is hidden automatically when there are no opened windows or no windows with the property ShowInTaskbar set to true. (Default: False)

Instance memberDisplayRectangle

Rectangle: Returns a rectangle that represents the inner dimensions of the Desktop control.

Instance memberDock

DockStyle: Returns or sets which control borders are docked to its parent control and determines how a control is resized with its parent. (Default: None)

Instance memberHeight

Int32: Returns or sets the height of the page.

Instance memberIsTaskbarVisible

Boolean: Returns whether the taskbar is currently visible.

Instance memberItems

DesktopTaskBarItemCollection: Returns the collection of DesktopTaskBarItem controls displayed in the taskbar of the desktop control.

Instance memberLocation

Point: Returns or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.

Instance memberSize

Size: Returns the height and width of the page.

Instance memberTaskbarAlignment

HorizontalAlignment: Return or sets the alignment of the Items in the taskbar. (Default: Left)

Instance memberTaskbarPosition

Position: Return or sets the position of the taskbar to one of the four sides indicated by the Position values. (Default: Bottom)

Instance memberTaskbarSize

Int32: Returns the height or width of the taskbar in the current theme, depending on the value of TaskbarPosition.

Instance memberText

String: Returns or sets the title of the Desktop. If the desktop is the main desktop, setting the text also changes the title in the browser. (Default: "")

Instance memberWallpaper

String: Returns or sets the wallpaper image. (Default: "")

Instance memberWidth

Int32: Returns or sets the width of the page.

Events

Instance memberActivated

EventHandler Fired when the desktop becomes active, and it's the new Desktop.

Instance memberDeactivate

EventHandler Fired when the desktop is deactivated and it's no longer the Desktop.

Instance memberItemClick

DesktopTaskBarItemClickEventHandler Fired when a DesktopTaskBarItem on the Desktop is clicked.

Instance memberItemDoubleClick

DesktopTaskBarItemClickEventHandler Fired when a DesktopTaskBarItem on the Desktop is double clicked.

Instance memberLoad

EventHandler Fired before the desktop becomes visible for the first time.

Instance memberTaskbarAlignmentChanged

EventHandler Occurs when the property TaskbarAlignment changes value.

Instance memberTaskbarPositionChanged

EventHandler Occurs when the property TaskbarPosition changes value.

Instance memberTaskbarVisibleChanged

EventHandler Occurs when the property AutoHideTaskbar is set to true and the TaskBar is either hidden or shown.

Implements

NameDescription
IBindableComponentBindable components implement this interface.
IContainerControlProvides the functionality for a control to act as a parent for other controls.
IDropTargetControls that support drag & drop operations implement this interface.
IWisejComponentAll wisej components implement this interface.
IWisejControlAll wisej controls derived from the Control class must implement this interface.
IWisejWindowAll wisej top-level windows implement this interface.
IWisejSerializableAllows an object to serialize itself.