Sign in Join
FPDoc Onlineexperiment

PropertyStorage unit

Provides the base class for a storage container use to save and restore control or form properties.

propertystorage.pas contains classes and types used to define a storage container for property values: TCustomPropertyStorage. This is a base class and contains abstract virtual methods which must be implemented in a descendent class. For example: TControlPropertyStorage, TFormPropertyStorage, TIniPropStorage, TJSONPropStorage, and TXMLPropStorage.

propertystorage.pas is part of the Lazarus Component Library (LCL).

Classes and records

TCustomPropertyStorageclassDefines a container used to Save and Restore property values.
TPropertyStorageLinkclassLinks a storage object to a property collection.
TStoredValueclassA key/value pair representing a property value, with added Save/Restore features.
TStoredValuesclassImplements a collection for TStoredValue collection items.

Types

TPlacementOperationenumerationRepresents operations performed for a property storage container.
TPropertyStorageSaveExceptionEventprocedure type
TStoredTypetypeAlias to the type used to store a property value.
TStoredValueEventprocedure typeType of an TStoredValue.OnSave and OnRestore notification handler.

Uses

  • Classes
  • SysUtils
  • RTLConsts
  • RTTIUtils

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.