Skip to content

TaskPanel Control Members

See Also

TaskPanel Overview

See Also

Task Panel ActiveX Control v24.0

TaskPanel Control Members

Public Methods

Method Description
Public MethodAboutBox Displays the About Box of the TaskPanel.
Public MethodAddIconHandle Adds the icon handle of an icon to the TaskPanel.
Public MethodCreateItemFromDropArray Converts the "Data" parameter in the Drag/Drop event back into a TaskPanelGroupItem.
Public MethodDoPropExchange Exchanges layout and state information to/from a PropExchange object.
Public MethodFind Finds and returns a TaskPanelGroupItem.
Public MethodRenameItem Used to change the Caption of a TaskPanelGroup or TaskPanelItem.
Public MethodReposition Repositions the groups in the TaskPanel. You only need to call this after you add a group or item and you do not want any animation displayed.
Public MethodSetGroupIconSize Specifies the size of icons displayed in a TaskPanelGroup object.
Public MethodSetGroupImageList Assigns an image list to a TaskPanel's group. The TaskPanelGroupItems added to the group will use these images as icons.
Public MethodSetGroupInnerMargins Gets/Sets inner margins of the groups.
Public MethodSetGroupOuterMargins Gets/Sets outer margins of the groups.
Public MethodSetGroupTextFormat Sets the text format for text displayed in task panel groups.
Public MethodSetIconSize Specifies the size of the icons in the TaskPanel.
Public MethodSetImageLayoutIconPadding Sets the top, left, bottom, and right margins/padding around icons in the Task Panel.
Public MethodSetImageList Assigns an image list to a TaskPanel control. All TaskPanelGroupItems added to the TaskPanel will use these images as icons unless the SetGroupImageList method is used for a particular group.
Public MethodSetItemInnerMargins Gets/Sets inner margins of the items.
Public MethodSetItemOuterMargins Gets/Sets outer margins of the items.
Public MethodSetItemTextFormat Specifies how the text for items in the TaskPanel will be displayed.
Public MethodSetMargins Sets the top, left, bottom, and right margins of the TaskPanel control. This is the area surrounding each group within the TaskPanel.

Public Properties

Property Description
Public PropertyAllowDrag Specifies how and where the items in the TaskPanel can be dragged and dropped.
Public PropertyAnimation Gets/Sets the animation of TaskPanel groups.
Public PropertyBehaviour Gets/Sets the behavior of the TaskPanel.
Public PropertyBorderStyle The type of border style that is placed around the TaskPanel.
Public PropertyCaptionFont Specifies the font used to display the caption of TaskPanelGroups.
Public PropertyClientHeight Returns the minimum height of the task panel before a ScrollBar will appear so that all content can be accessible.
Public PropertyColorSet Stores the colors used to paint the Task Panel.
Public PropertyColumnWidth Gets/Sets the width in pixels of all columns in a multi-column task panel.
Public PropertyDragOverItem Holds a pointer to the item that currently is being dragged over.
Public PropertyDrawFocusRect Gets/Sets whether a focus rectangle will be drawn around a TaskPanelGroupItem/TaskPanelItem when navigating.
Public PropertyEnableAnimation Enables or disables animation for the TaskPanel group items.
Public PropertyEnabled Gets/Sets a boolean value determining whether the control is enabled.
Public PropertyEnableMarkup Allows the use of a XAML snippet to be used for the Caption of Task Panel Items.
Public PropertyExpandable Gets/Sets a Boolean value indicating whether the task panel groups are expandable.
Public PropertyFocusedItem Holds a pointer to the currently focused TaskPanelItem.
Public PropertyGroups Collection of TaskPanelGroup objects in the TaskPanel control.
Public PropertyHotItem Holds a pointer to the "hot" TaskPanelItem.
Public PropertyHotItemMousePointer Gets or sets the icon id of the image to use when the mouse pointer is positioned over an item.
Public PropertyHotTrackStyle Gets/Sets the Hot Tracking style used on mouse over.
Public PropertyhWnd The Handle to the object that the TaskPanel is bound to.
Public PropertyIcons Gets/Sets the icons used in the TaskPanel.
Public PropertyItemLayout Gets/Sets the layout of the items within groups.
Public PropertyItemsFont Specifies the font used to display the text of TaskPanelGroupItems.
Public PropertyLockRedraw Used to lock or unlock Task Panel re-drawing.
Public PropertyMinimumGroupClientHeight Gets/Sets the minimum height of the group client area for all groups in the task panel.
Public PropertyMultiColumn Enables/disables the use of multi-column groups for layouts other than image layout.
Public PropertyOLEDropMode Uses the flags from the OLEDropConstants enumeration to specify the drop mode used by the task panel for dropping external items.
Public PropertyReCreateReparented
Public PropertyRightToLeft Gets or sets a value indicating whether the TaskPanel elements are aligned to support locales using right-to-left fonts.
Public PropertySelectItemOnFocus Gets/Sets whether items will be selected when they are clicked.
Public PropertySingleSelection Specifies whether only one item can be selected in the Task Panel at a time.
Public PropertyToolTipContext Represents the tool tip window that is used to display tool tips.
Public PropertyVisualTheme Gets/Sets the visual theme of the TaskPanel control.

Events

Event Description
Public EventBeginDrag Occurs when a GroupItem begins to drag.
Public EventClientHeightChanged Occurs when the client height changes.
Public EventEndRenameItem Occurs when an item has finished being renamed.
Public EventFocusedItemChanged Occurs when the focus has changed from one item or group to a different item or group.
Public EventGroupExpanded Occurs when a group has finished expanding.
Public EventGroupExpanding Occurs when a Group is in the process of expanding or collapsing.
Public EventGroupMove Occurs when a group moves (has been dragged).
Public EventHotItemChanged Occurs when a new item becomes "hot".
Public EventItemClick Occurs when a TaskPanelGroupItem that is of type xtpTaskItemTypeLink has been clicked.
Public EventItemDblClick Occurs when an item in the TaskPanel is double-clicked.
Public EventItemDrop Occurs when a GroupItem has been dropped.
Public EventItemRButtonDown Occurs when a TaskPanelGroup caption is right-clicked, or when a TaskPanelGroupItem that is of type xtpTaskItemTypeLink has been right-clicked.
Public EventKeyDown Occurs when a key on the keyboard is pressed down while a TaskPanelGroup or TaskPanelGroupItem of type xtpTaskItemTypeLink has focus.
Public EventKeyUp Occurs when a key on the keyboard is released while a TaskPanelGroup or TaskPanelGroupItem of type xtpTaskItemTypeLink has focus.
Public EventMouseDown Occurs when a button on the mouse has been pressed anywhere on the TaskPanel.
Public EventMouseMove Occurs when the mouse pointer is moved anywhere over the TaskPanel.
Public EventMouseUp Occurs when a button on the mouse has been released anywhere on the TaskPanel.
Public EventOLEDragDrop Occurs when a source component is dropped onto a target component when the source component determines that a drop can occur.
Public EventOLEDragOver Occurs when one component is dragged over another.

See Also

TaskPanel Overview


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.