ICreate.Controls.Bars Send comments on this topic.
TaskBarItem Class
See Also  Members  
ICreate.Controls.Bars Namespace : TaskBarItem Class






TaskBarItem represents a hyperlink on a TaskBar.

Object Model


Syntax

Visual Basic (Declaration) 
Public Class TaskBarItem 
   Inherits BarItemCommand
Visual Basic (Usage)Copy Code
Dim instance As TaskBarItem
C# 
public class TaskBarItem : BarItemCommand 
Delphi 
public class TaskBarItem = class(BarItemCommand)
JScript 
public class TaskBarItem extends BarItemCommand
Managed Extensions for C++ 
public __gc class TaskBarItem : public BarItemCommand 
C++/CLI 
public ref class TaskBarItem : public BarItemCommand 

Remarks

A TaskBarItem represents a hyperlink on a TaskBar. A TaskBarItem consists of an Image followed by Text. The ItemSelected and Click events are raised when the Image or Text is clicked.

The colour properties of the TaskBar parenting the TaskBarItem determine its normal, hot and pressed colours. The TaskBarItem ForeColor property is an ambient property which can be used to override the TaskBar ForeColor property. Each TaskBarItem has a Tip property. This property specifies the text on the ToolTip displayed when the mouse cursor hovers over the TaskBarItem. The Tip can be displayed on a standard or gradient ToolTip depending on the value of the TaskBar TipAppearance property.

The Hot event is raised when the mouse cursor moves over the TaskBarItem, the Cold event when the mouse cursor leaves the TaskBarItem.

 

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         ICreate.Controls.Bars.BarItem
            ICreate.Controls.Bars.BarItemCommand
               ICreate.Controls.Bars.TaskBarItem

Requirements

Namespace: ICreate.Controls.Bars

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: ICreate.Controls.Bars (in ICreate.Controls.Bars.dll)

See Also