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

TcxCustomGridCellViewInfo.ContentBounds Property

Contains a specific cell bounding rectangle excluding the border size.

#Declaration

Delphi
property ContentBounds: TRect read;

#Property Value

Type
TRect

#Remarks

The cell bounding rectangle returned by this property is calculated relative to the upper left corner of the grid control. The cell border width is not included in the cell bounding rectangle.

To get the width or height of a cell’s content, use the ContentWidth and ContentHeight properties correspondingly.

See Also