vcl-cxgridcustomtableview-dot-tcxcustomgridrecord-8a3e5da7.md
Specifies whether the record is expanded.
property Expanded: Boolean read; write;
| Type |
|---|
| Boolean |
Read the Expanded property value to determine whether the record is currently expanded. Assign True to this property to expand the record or False to collapse it. Note that changing a record’s expanded state using the Expanded property doesn’t produce a recursive effect. For instance, expanding a record by setting its Expanded property to True will not expand this record’s child records. If you need to expand or collapse records recursively, use the Expand and Collapse methods.
Please refer to the Expand method description for details on which records support expanding and collapsing operations. Additionally, see the Expandable property description to determine when records can be expanded or collapsed.
Note
Layout Views in lvvmSingleRow or lvvmMultiRow display mode rotate card captions in collapsed cards (records). Use the dxUseAntialiasingForRotatedText global constant to control if the ClearType antialiasing is applied to a rotated text (including these captions) in your application.
See Also