Skip to main content

DataControlBase.RestoreLayoutFromXml(String) Method

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

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v22.1.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core


public void RestoreLayoutFromXml(
    string path


Name Type Description
path String

A String value that specifies the target file name.


To save a control’s layout to an XML file, use the DataControlBase.SaveLayoutToXml


Detail grids aren’t automatically serialized when saving the master grid’s layout. To learn more, see Master-Detail Mode Limitations.

To learn more, see Saving and Restoring Layout.

See Also