DesktopTaskBarItem

Wisej.Web.DesktopTaskBarItem

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.2.0.0)

Represents a component in the Desktop control's taskbar.

public class DesktopTaskBarItem : Component

Constructors

DesktopTaskBarItem()

Initializes a new instance of the DesktopTaskBarItem class.

DesktopTaskBarItem(text)

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

Name
Type
Description

text

The text to display on the new DesktopTaskBarItem.

Properties

AllowHtml

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

Enabled

Boolean: Returns or sets whether the button is enabled.

Image

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

ImagePosition

ImagePosition: Returns or sets the position of the Image within this taskbar item.

ImageSource

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

Name

String: Returns or sets the name of the DesktopTaskBarItem.

Parent

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

Position

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

Tag

Object: Returns or sets the object that contains user data.

Text

String: Returns or sets the text displayed on the taskbar item.

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 " ".

ToolTipText

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

Visible

Boolean: Returns or sets whether the taskbar item is visible or hidden.

Methods

Update()

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

Inherited By

Name
Description

Represents a component in the Desktop control's taskbar that can host any Control.

Represents a DateTime component in the Desktop control's taskbar.

Implements

Name
Description

All wisej components implement this interface.

Allows an object to serialize itself.

Last updated

Was this helpful?