Skip to main content

TcxTreeListHeaderCellViewInfo Class

Stores ViewInfo information specific to band and column headers.

Declaration

TcxTreeListHeaderCellViewInfo = class(
    TcxTreeListCustomHeaderCellViewInfo,
    IcxDragSizing
)

Remarks

This class provides the following properties:

Member Type Write Access Description
AlignHorz TAlignment Read Only Returns the horizontal alignment of a caption‘s text (see the TcxTreeListCaption.AlignHorz property).
AlignVert TcxAlignmentVert Read Only Returns the vertical alignment of a caption‘s text (see the TcxTreeListCaption.AlignVert property).
Fixed Boolean Read Only Returns True if the painted band is fixed (see the band’s FixedKind property). This property is only in effect for the OnCustomDrawBandHeaderCell event.
Glyph TBitmap Read Only Returns the caption’s image (see the TcxTreeListCaption.Glyph property).
GlyphAlignHorz TAlignment Read Only Returns the horizontal alignment of a caption’s image (see the TcxTreeListCaption.GlyphAlignHorz property).
GlyphAlignVert TcxAlignmentVert Read Only Returns the vertical alignment of a caption’s image (see the TcxTreeListCaption.GlyphAlignVert property).
GlyphPosition TPoint Read Only Returns the upper-left corner of a caption’s image, in tree list coordinates.
ShowEndEllipsis Boolean Read Only Returns True if an ellipsis within a caption is allowed (see the TcxTreeListCaption.ShowEndEllipsis property).
SortMarkBounds TRect Read Only Returns the sorting mark’s bounding rectangle, in tree list coordinates.
SortOrder TcxDataSortOrder Read Only Returns the sort order of column values (see the column’s SortOrder property).
Text String Read Only Returns the caption’s text.

A TreeList control’s OnCustomDrawBandHeaderCell, OnCustomDrawHeaderCell, and OnGetCellHint events accept a TcxTreeListHeaderCellViewInfo object as a parameter.

Implements

See Also