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

TcxPropertiesStoreComponent.RestoreFromIniFile(string) Method

Restores the current component’s properties from an INI file.

#Declaration

Delphi
procedure RestoreFromIniFile(const AStorageName: string);

#Parameters

Name Type
AStorageName string

#Remarks

Use this method to restore the properties of the component specified by the Component property from an INI file. The properties to restore are specified by the Properties list.

You can call the RestoreFromIniFile method even if the StorageType of the current TcxPropertiesStore instance is not set to stIniFile.

The AStorageName parameter specifies the path and the name of the INI file used as a storage. If such a file does not exist, the RestoreFromIniFile method does nothing.

See Also