A newer version of this page is available. Switch to the current version.

SchedulerControl.RestoreLayoutFromXml(String) Method

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.1.dll

Declaration

public void RestoreLayoutFromXml(
    string xmlFile
)
Public Sub RestoreLayoutFromXml(
    xmlFile As String
)

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.

Implements

DevExpress.Utils.Serializing.ISupportXtraSerializer.RestoreLayoutFromXml(String)
See Also