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

TcxCustomPivotGrid.StoreToRegistry(string,Boolean) Method

Saves the pivot grid’s layout in the system registry.

#Declaration

Delphi
procedure StoreToRegistry(const AStorageName: string; AReCreate: Boolean = True);

#Parameters

Name Type
AStorageName string
AReCreate Boolean

#Remarks

The information to be stored includes the field layout scheme, field filters, and the currently applied prefilter criteria. The AStorageName parameter specifies the HKEY_CURRENT_USER’s and HKEY_USERS’ subkeys. The values describing the layout scheme are stored under the subkey.

The AReCreate parameter specifies whether the value entries under the AStorageName subkey are overwritten. Set this parameter to False, to store multiple layouts under the single AStorageName suffix.

To restore the layout saved in the registry, use the RestoreFromRegistry method.

See Also