LayoutControlBase.WriteToXML(XmlWriter) Method
Saves the layout of items that reside within the current object.
Namespace: DevExpress.Xpf.LayoutControl
Assembly: DevExpress.Xpf.LayoutControl.v14.2.dll
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
xml | Xml |
A System. |
#Remarks
You can save the layout of child items via the WriteToXML method. The LayoutControlBase.ReadFromXML method allows you to load the previously saved layout.
NOTE
To correctly save and then restore the layout of items, you need to assign names to the items. If names are not specified, the layout will be correctly restored, provided that the Layout
To load a layout, we recommend using the Loaded event of a User