DesktopTaskBarItem

Wisej.Web.DesktopTaskBarItem

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.1.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.

NameTypeDescription

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. (Default: False)

Enabled

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

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. (Default: Left)

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. (Default: Left)

Tag

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

Text

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

ToolTipText

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

Visible

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

Methods

Update()

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

Inherited By

NameDescription

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

NameDescription

All wisej components implement this interface.

Allows an object to serialize itself.

Last updated