Skip to main content

TcxTreeListNode.DisplayRect(Boolean) Method

Returns the node’s bounding rectangle.

Declaration

function DisplayRect(AEntryOnly: Boolean): TRect;

Parameters

Name Type
AEntryOnly Boolean

Returns

Type
TRect

Remarks

Use the DisplayRect method to obtain the node’s bounding rectangle. The AEntryOnly parameter specifies whether the whole node area is included in the returned rectangle or only the node’s cells area. If AEntryOnly is True, the bounding rectangle contains the cells area only.

The red rectangles on the following image represent the node’s DisplayRect when AEntryOnly is False, while the blue rectangles represent the cells area bounding rectangles:

See Also