Skip to main content

TdxTileControlGroup.OnGetStoredProperties Event

Enables you to customize a list of the group’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 group property names that are stored by default. You can add custom property names to the list and handle the group’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 group.

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 item properties are persisted, handle an item’s OnGetStoredProperties, OnGetStoredPropertyValue, and OnSetStoredPropertyValue events.

See Also