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

SchedulerControl.RestoreLayoutFromXml(String) Method

Restores the control’s layout from the specified XML file.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v18.2.dll

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