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

TcxGridLayoutViewOptionsView.RecordIndent Property

Specifies card margins, in pixels.

#Declaration

Delphi
property RecordIndent: Integer read; write; default cxGridCustomLayoutViewRecordDefaultIndent;

#Property Value

Type Default Description
Integer cxGridCustomLayoutViewRecordDefaultIndent

A card’s margin width, in pixels.

#Remarks

Use this property to specify card margins by the horizontal and vertical axes.

RecordIndent = 7 RecordIndent = 20
RecordIndent is set to 7 RecordIndent is set to 20

Note

The RecordIndent property value is ignored for:

  • Horizontal margins if a single card column is centered vertically.
  • Vertical margins if a single card row is centered horizontally.

If the TcxGrid control is placed on a DPI-aware form (a TdxForm class descendant instance), the RecordIndent property automatically updates its value according to the form’s scale factor every time it changes.

The RecordIndent property’s default value is the cxGridCustomLayoutViewRecordDefaultIndent global constant.

See Also