GaugeControlBase.RestoreLayoutFromRegistry(String) Method
Restores the layout of gauges and their elements stored at the specified system registry path.
Namespace: DevExpress.XtraGauges.Win
Assembly: DevExpress.XtraGauges.v20.2.Win.dll
NuGet Package: DevExpress.Win.Gauges
Declaration
Parameters
Name | Type | Description |
---|---|---|
path | String | A string value specifying the system registry path. If the specified path doesn’t exist, calling this method has no effect. |
Remarks
Use the RestoreLayoutFromRegistry method to restore the layout of gauges and their elements written to the system registry by the GaugeControlBase.SaveLayoutToRegistry method. You can define whole and partial registry keys as this method’s parameter. For example, if you define “Software\Company", the full path will be as follows: “HKEY_CURRENT_USER\Software\Company". If you wish to store a layout in another root key, you should define the entire path such as “HKEY_LOCAL_MACHINE\Software\Company".