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

TcxGridCardViewOptionsView.CaptionWidth Property

Specifies the width (in pixels) of Card View row captions.

#Declaration

Delphi
property CaptionWidth: Integer read; write; default 0;

#Property Value

Type Default
Integer 0

#Remarks

Use this property to adjust the width of row captions displayed by the Card View. If the specified caption width is not enough to fit a caption, the caption text is automatically clipped if the RowCaptionAutoHeight property is set to False. If the CaptionWidth property is set to 0, caption widths are automatically calculated to fit row caption strings according to their current font settings.

The CaptionWidth property automatically updates by multiplying its current value by the DPI-aware form’s scaling factor every time it changes.

The default value of the CaptionWidth property is 0.

See Also