Skip to main content

TcxGridCardViewOptionsView.CaptionWidth Property

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

Declaration

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