Saves the layout of gauges and their elements to a system registry path.
public virtual void SaveLayoutToRegistry( string path )
Public Overridable Sub SaveLayoutToRegistry( path As String )
A string value specifying the system registry path to which the layout is saved.
Use the SaveLayoutToRegistry method to save the layout of gauges and their elements to the system registry. You can then restore these settings using the GaugeControlBase.RestoreLayoutFromRegistry method.
You can define whole and partial registry keys as the parameter. For instance, specifying "Software\MyCompany\MyProject" as a partial key will result in saving settings to the "HKEY_CURRENT_USER\Software\MyCompany\MyProject" 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\MyProject" registry path.