Skip to main content
All docs
V24.1

DXSerializer.Serialize Method

Name Parameters Description
Serialize(DependencyObject, Stream, String, DXOptionsLayout) static root, stream, appName, options Saves (serializes) layouts of the specified container (or control) and all its child elements to a Stream. The method saves layouts of visual controls that exist in the application’s visual tree.
Serialize(DependencyObject, Object, String, DXOptionsLayout) static root, path, appName, options Saves (serializes) layouts of the specified container (or control) and all its child elements to an XML file. The method saves layouts of visual controls that exist in the application’s visual tree.
Serialize(DependencyObject[], Object, String, DXOptionsLayout) static dObjects, path, appName, options Saves (serializes) layouts of the specified container (or control) collection and all its child elements to an XML file/Stream. The method saves layouts of visual controls that exist in the application’s visual tree.