Skip to main content
A newer version of this page is available. .

DataControlBase.SaveLayoutToXml(String) Method

Saves a control’s layout to a file in XML format.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v18.2.Core.dll

Declaration

public void SaveLayoutToXml(
    string path
)

Parameters

Name Type Description
path String

A String value that specifies the target file name.

Remarks

To restore a control’s layout previously saved by the SaveLayoutToXml method, use the DataControlBase.RestoreLayoutFromXml method.

Note

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