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.RestoreFromStream(TStream,Boolean,Boolean,string) Method

Restores the tile control’s settings from a stream.

#Declaration

Delphi
procedure RestoreFromStream(AStream: TStream; AChildrenCreating: Boolean = False; AChildrenDeleting: Boolean = False; const ARestoreName: string = '');

#Parameters

Name Type
AStream TStream
AChildrenCreating Boolean
AChildrenDeleting Boolean
ARestoreName string

#Remarks

The StoreTo~ and RestoreFrom~ methods allow you to persist tile control settings across multiple sessions. Call the StoreToStream method to save the tile control’s settings to a stream. Later, you can call the RestoreFromStream method to apply the stored settings to this or another tile control, restoring its state from the stream. Refer to the StoreToStream method description to learn about the settings that are persisted by these methods.

The AStream parameter specifies a TStream descendant from which the settings are restored.

The AChildrenCreating parameter determines whether non-existent tile elements (groups and items) present within the stream are created within the target tile control. On the contrary, the AChildrenDeleting parameter determines whether existing tile elements not present within the stream are deleted when restoring.

The ARestoreName parameter corresponds to the ASaveName parameter of the StoreToStream method.

For more information on the AChildrenCreating, AChildrenDeleting, and ARestoreName parameters, refer to the RestoreFromIniFile method description.

See Also