Skip to main content

TcxCustomRowHeaderInfo.ButtonRect Property

Returns the rectangle the expand button occupies.

Declaration

property ButtonRect: TRect read;

Property Value

Type
TRect

Remarks

You can use the ButtonRect property to obtain a TRect structure describing the rectangle occupied by the expand button within the row.

You can determine whether the row contains an expand button using the ShowButton property. Additionally, the expand button’s background color is available via ButtonColor.

Note

if the expand button is disabled, this property returns a rectangle with zero height and width.

See Also