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.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.v24.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