Skip to main content
A newer version of this page is available.

ASPxGaugeControl.SaveLayoutToRegistry(String) Method

Saves the ASPxGaugeControl’s current layout to a system registry path.

Namespace: DevExpress.Web.ASPxGauges

Assembly: DevExpress.Web.ASPxGauges.v19.2.dll

Declaration

public virtual void SaveLayoutToRegistry(
    string path
)

Parameters

Name Type Description
path String

A string value that specifies the system registry path to which the layout is saved.

Remarks

Use the SaveLayoutToRegistry method to save the current layout of gauges and their elements to the system registry. These settings can then be restored using the ASPxGaugeControl.RestoreLayoutFromRegistry method.

You can define whole and partial registry keys as the parameter. For instance, specifying “Software\MyCompany\MyWebProject" as a partial key will result in saving settings to the “HKEY_CURRENT_USER\Software\MyCompany\MyWebProject" path. You can also specify the entire path if you need to store the layout at another root key, for instance. An example is the “HKEY_LOCAL_MACHINE\Software\MyCompany\MyWebProject" registry path.

See Also