SaveState(Writer: IXmlDomElement);
SaveState(Writer: Prognoz.Platform.Interop.MsXml2.IXmlDomElement);
Writer. XML element, to which the state of component elements is saved.
The SaveState method saves a state of the component elements.
The following parameters of elements are saved during method work: elements positions, name, tooltip, permanent element indicator, and also custom data specified in the Data property.
NOTE. If the XML element that contains any data is passed as a parameter of the method, the current state of elements is added to the end of these data. Then it can cause incorrect loading of the state of elements. It is recommended to save data in the XML element that was created directly before saving.
The property use is given in the example for IBreadcrumb.LoadState.
See also: