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

SchedulerControl.RestoreLayoutFromRegistry(String) Method

SECURITY NOTE

Deserializing layout settings from untrusted resources may create security issues. Review the following help topic for additional information: Safe Deserialization.

Restores the control’s layout from the layout stored at the specified system registry path.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.dll

NuGet Package: DevExpress.Win.Scheduler

#Declaration

public void RestoreLayoutFromRegistry(
    string path
)

#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 control’s layout which has been written to the system registry by the SchedulerControl.SaveLayoutToRegistry method. You can define the 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". To store a layout in another root key, you should define the entire path, as, for example: “HKEY_LOCAL_MACHINE\Software\Company".

See Also