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

TcxCustomVerticalGrid.StoreToIniFile(string,Boolean) Method

Stores the grid layout to an INI file.

#Declaration

Delphi
procedure StoreToIniFile(const AStorageName: string; AReCreate: Boolean = True);

#Parameters

Name Type
AStorageName string
AReCreate Boolean

#Remarks

You can use the StoreToIniFile method to store the vertical grid’s layout to an INI file. The method stores the PaintStyle, RowHeaderWidth and ValueWidth property values and the row structure: row indexes and their parent indexes, row heights and their expanded/collapsed status.

The AStorageName parameter determines the name of the INI file.

The AReCreate parameter specifies whether the INI file will be overwritten. Set the AReCreate parameter to False to store multiple layouts in a single file.

To restore the grid layout from an INI file, you can use the RestoreFromIniFile method.

Alternatively, you can store the grid layout to the Windows registry or to a stream using the StoreToRegistry and StoreToStream methods.

See Also