Back to Devexpress

TcxTreeListIndentCellViewInfo Class

vcl-cxtl-1045e337.md

latest5.3 KB
Original Source

TcxTreeListIndentCellViewInfo Class

Stores ViewInfo information specific to indent cells.

Declaration

delphi
TcxTreeListIndentCellViewInfo = class(
    TcxTreeListCustomCellViewInfo,
    IcxHotTrackElement,
    IcxHintableObject
)

Remarks

This class provides the following properties:

|

Member

|

Type

|

Write Access

|

Description

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

Button

|

Boolean

|

Read Only

|

Returns True , if the expand button is displayed.

| |

CheckState

|

TcxCheckBoxState

|

Read Only

|

Returns the node check box’s state (see the node’s CheckState property and the TcxCheckBoxState enumeration).

| |

Fixed

|

Boolean

|

Read Only

|

Returns True , if a band to which the indent cell belongs is fixed (see the band’s FixedKind property).

| |

GlyphRect

|

TRect

|

Read/Write

|

Specifies the bounding rectangle of a node image (see the node’s ImageIndex property), in tree list coordinates.

| |

HasImage

|

Boolean

|

Read Only

|

Returns True if a node image (overlay image) is specified (see the tree list’s Images and the node’s ImageIndex and OverlayIndex properties).

| |

HorzTreeLine

|

TRect

|

Read Only

|

Returns the horizontal tree line‘s bounding rectangle, in tree list coordinates.

| |

HotTrack

|

Boolean

|

Read Only

|

Returns True , if a node that owns the painted indent cell is hot-tracked (see the node’s HotTrack and the tree list’s OptionsBehavior.HotTrack properties).

| |

ImageIndex

|

Integer

|

Read Only

|

Returns the node image’s index (see the node’s ImageIndex property).

| |

Images

|

TCustomImageList

|

Read Only

|

Returns the collection of node images (see the tree list’s Images property).

| |

Index

|

Integer

|

Read Only

|

Returns the owning node‘s level (see the node’s Level property)

| |

IsExpanded

|

Boolean

|

Read Only

|

Returns True , if a node is expanded (see the node’s Expanded property).

| |

Kind

|

TcxTreeListNodeIndentKind

TcxTreeListNodeIndentKind = (nikLevel, nikImage, nikState, nikCheck, nikFooter);

|

Read Only

|

Returns the type of an indent cell’s area used for displaying a certain element (level, node image, state image, check box, summary cell).

| |

LevelNode

|

TcxTreeListNode

|

Read Only

|

Returns the node that owns the painted indent cell.

| |

Lines

|

TcxTreeListIndentLines

TcxTreeListIndentLine = (ilVertUp, ilVertDown, ilHorz);

|

Read Only

|

Returns the direction of the painted tree lines, relative to the node whose indent is painted (available directions: up, down and horizontal).

| |

OverlayIndex

|

Integer

|

Read Only

|

Returns the overlay image’s index (see the node’s OverlayIndex property).

| |

VertTreeLine

|

TRect

|

Read Only

|

Returns the vertical tree line‘s bounding rectangle, in tree list coordinates.

|

A TreeList control’s OnCustomDrawIndentCell event accepts a TcxTreeListIndentCellViewInfo object as the AViewInfo parameter.

Implements

IcxHotTrackElement

IcxHintableObject

Inheritance

TObject TcxIUnknownObject TcxCustomViewInfoItem TcxTreeListCustomCellViewInfo TcxTreeListIndentCellViewInfo

See Also

Custom Draw

TcxTreeListIndentCellViewInfo Members

cxTL Unit