Skip to main content

TcxGridLayoutViewOptionsView.RecordIndent Property

Specifies card margins, in pixels.

Declaration

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