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
Declaration
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