Skip to main content

SchedulerControl.RestoreLayoutFromXml(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 specified XML file.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v23.2.dll

NuGet Package: DevExpress.Win.Scheduler

Declaration

public void RestoreLayoutFromXml(
    string xmlFile
)

Parameters

Name Type Description
xmlFile String

A String value specifying the path to the XML file to read settings from. If the specified file doesn’t exist a System.IO.FileNotFoundException type exception is raised.

Remarks

Use the RestoreLayoutFromXml method to load the control’s layout which has been previously saved to an XML file via the SchedulerControl.SaveLayoutToXml method.

See Also