Skip to main content

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

Loads the current SplitContainerControl‘s layout from the specific XML file.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v23.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

public void RestoreLayoutFromXml(
    string xmlFile
)

Parameters

Name Type Description
xmlFile String

A String value that is the path to an XML file where the current SplitContainerControl‘s layout should be restored from.

Remarks

Use the SplitContainerControl.SaveLayoutToXml and RestoreLayoutFromXml methods to save and restore the current SplitContainerControl‘s layout to the specific XML file. See the Saving and Restoring Layouts to a File, Stream and System Registry topic for general information on saving and restoring the layouts of DevExpress .NET controls.

See Also