Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxTreeListNode.DisplayRect(Boolean) Method

Returns the node’s bounding rectangle.

#Declaration

Delphi
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