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

TdxCustomTileControl.OnInitStoredObject Event

In This Article

Enables you to initialize tile groups and items that are created when restoring the tile control’s settings from external data stores.

#Declaration

Delphi
property OnInitStoredObject: TcxInitStoredObjectEvent read; write;

#Remarks

When the tile control’s settings are restored from a data store by calling the RestoreFromIniFile, RestoreFromRegistry, or RestoreFromStream method, and a data store’s group/item is missing in the tile control, this group/item is automatically created in the tile control, provided that the method is called with True passed as the AChildrenCreating parameter. After the group/item has been created, the OnInitStoredObject event is fired. You can handle this event to properly initialize the object which corresponds to the created element. Initialization includes re-associating group/item events with existing event handlers and assigning group/item properties.

The tile control being restored from a data store and the group/item that has been created are passed as the Sender and AObject parameters of the OnInitStoredObject event, respectively.

See Also