Skip to main content
Version: 3.5

DesktopTaskBarItem

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents a component in the Desktop control's taskbar.

public class DesktopTaskBarItem : Component

Constructors​

Instance memberDesktopTaskBarItem()​

Initializes a new instance of the DesktopTaskBarItem class.

Instance memberDesktopTaskBarItem(text)​

Initializes a new instance of the DesktopTaskBarItem class and displays the specified text on the item.

NameTypeDescription
textStringThe text to display on the new DesktopTaskBarItem.

Properties​

Instance memberAllowHtml​

Boolean: Returns or sets a value indicating that the control can display html in the Text property. (Default: False)

Instance memberEnabled​

Boolean: Returns or sets whether the button is enabled. (Default: True)

Instance memberImage​

Image: Returns or sets the image that is displayed in a DesktopTaskBarItem.

Instance memberImagePosition​

ImagePosition: Returns or sets the position of the Image within this taskbar item. (Default: Left)

Instance memberImageSource​

String: Returns or sets the theme name or URL for the image to display in the DesktopTaskBarItem.

Instance memberName​

String: Returns or sets the name of the DesktopTaskBarItem.

Instance memberParent​

Desktop: Returns the Desktop control that the taskbar item button is assigned to.

Instance memberPosition​

LeftRightAlignment: Returns or sets the position of this DesktopTaskBarItem within the taskbar in the parent Desktop. (Default: Left)

Instance memberTag​

Object: Returns or sets the object that contains user data. (Default: null)

Instance memberText​

String: Returns or sets the text displayed on the taskbar item. (Default: "")

When AllowHtml is set to true, the text can contain HTML content. If the text contains new lines (CRLF) but doesn't contain HTML elements (at least one "<") all CRLF are automatically substituted with "<br/>".

Instance memberToolTipText​

String: Returns or sets the text that appears as a ToolTip for the taskbar item. (Default: "")

Instance memberVisible​

Boolean: Returns or sets whether the taskbar item is visible or hidden. (Default: True)

Methods​

Instance memberUpdate()​

Updates the component on the client. Overridden to repaint the taskbar in design mode.

Inherited By​

NameDescription
DesktopTaskBarItemControlRepresents a component in the Desktop control's taskbar that can host any Control.
DesktopTaskBarItemDateTimeRepresents a DateTime component in the Desktop control's taskbar.

Implements​

NameDescription
IWisejComponentAll wisej components implement this interface.
IWisejSerializableAllows an object to serialize itself.