TdxTileControlItem.OnGetStoredProperties Event
Enables you to customize a list of the item’s properties to be stored to external data stores.
Declaration
property OnGetStoredProperties: TcxGetStoredPropertiesEvent read; write;
Remarks
Whenever the store process is started by a StoreToIniFile, StoreToRegistry, or StoreToStream method call, a list of the properties to store is produced. When the OnGetStoredProperties event is fired, the list is already populated with item property names, which are stored by default. You can add custom property names to the list and handle the item’s OnGetStoredPropertyValue and OnSetStoredPropertyValue events to provide property values to be saved and restored from a data store. Make certain that items in the list uniquely identify the property names they correspond to.
The Sender parameter specifies the tile item.
The AProperties parameter provides access to the list of properties to be stored.
Note
To customize the manner in which tile control properties are persisted, handle the tile control’s OnGetStoredProperties, OnGetStoredPropertyValue, and OnSetStoredPropertyValue events. To customize the manner in which tile group properties are persisted, handle a group’s OnGetStoredProperties, OnGetStoredPropertyValue, and OnSetStoredPropertyValue events.