Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.