Saves the control’s layout to the system registry.
NuGet Package: DevExpress.Win.Scheduler
public void SaveLayoutToRegistry( string path )
Public Sub SaveLayoutToRegistry( path As String )
A String value specifying the system registry path in which to save the layout.
The SaveLayoutToRegistry method saves the control’s layout (the settings of all the Views, the type of the active View, grouping mode, etc) to the system registry. The saved settings can then be restored from the storage using the SchedulerControl.RestoreLayoutFromRegistry method.
The whole and partial registry keys can be defined as a parameter. For instance, specifying “Software\MyCompany\MyProject" as a partial key will result in the settings being saved to the “HKEY_CURRENT_USER\Software\MyCompany\MyProject" path. The entire path can also be specified, for instance, if the layout needs to be stored in a different root key. An example is the “HKEY_LOCAL_MACHINE\Software\MyCompany\MyProject" registry path.