Skip to main content

TcxTreeListCustomHeaderCellViewInfo Class

Declaration

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.

See Also