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

TcxListBox.ItemRect(Integer) Method

Gets the bounds of the specified item.

#Declaration

Delphi
function ItemRect(Index: Integer): TRect;

#Parameters

Name Type
Index Integer

#Returns

Type
TRect

#Remarks

Use the ItemRect method to determine the bounding rectangle of the specified item. The item is specified by its zero-based index via the Index parameter. If the parameter value is negative or exceeds the last available item index, an empty rectangle is returned (all coordinates are zeros).

See Also