Back to Devexpress

TcxTreeListCustomHeaderCellViewInfo Class

vcl-cxtl-6893ff52.md

latest3.3 KB
Original Source

TcxTreeListCustomHeaderCellViewInfo Class

The base class for the TcxTreeListHeaderCellViewInfo and TcxTreeListIndicatorCellViewInfo classes.

Declaration

delphi
TcxTreeListCustomHeaderCellViewInfo = class(
    TcxTreeListCustomCellViewInfo,
    IcxHotTrackElement,
    IcxHintableObject
)

Remarks

This class provides the following properties:

|

Property

|

Type

|

Write Access

|

Description

| | --- | --- | --- | --- | |

HotTrack

|

Boolean

|

Read/Write

|

Set this property to True , to highlight the element.

In the OnCustomDrawHeaderCell event, if the option is active, the column header is highlighted.

In the OnCustomDrawIndicatorCell event, if the option is active, the quick column customization button is highlighted.

| |

IsLast

|

Boolean

|

Read Only

|

In the OnCustomDrawHeaderCell event, returns True if the painted column header is the last header in the column header panel.

| |

MultiLine

|

Boolean

|

Read Only

|

Returns True , if a column header‘s text can be displayed in several lines (see the TcxTreeListCaption.MultiLine property).

| |

Neighbors

|

TcxNeighbors

TcxNeighbor = (nLeft, nTop, nRight, nBottom);

TcxNeighbors = set of TcxNeighbor;

|

Read Only

|

Returns the positions of the neighboring homogeneous elements, relative to the painted element (available positions: to the left, top, right, or bottom of the element).

| |

Pressed

|

Boolean

|

Read/Write

|

Set this property to True to paint the element pressed.

| |

State

|

TcxButtonState

|

Read/Write

|

Specifies the element’s state. Refer to the TcxButtonState type description to learn about available states.

| |

TextBounds

|

TRect

|

Read Only

|

Returns the column header’s text bounding rectangle, in tree list coordinates.

|

Implements

IcxHotTrackElement

IcxHintableObject

Inheritance

TObject TcxIUnknownObject TcxCustomViewInfoItem TcxTreeListCustomCellViewInfo TcxTreeListCustomHeaderCellViewInfo

See Also

Custom Draw

TcxTreeListCustomHeaderCellViewInfo Members

cxTL Unit