Skip to main content

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

ThemedWindow.SaveLayoutToXml(String) Method

Saves the layout of the themed window to an XML file.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public void SaveLayoutToXml(
    string path
)

#Parameters

Name Type Description
path String

An XML file to which the layout is stored.

#Remarks

You can use the following ThemedWindow methods to save/restore the control’s properties:

ThemedWindow can save and restore its size, position, and WindowState properties.

To serialize a ThemedWindow‘s properties with the WorkspaceManager, LayoutSerializationService, or DXSerializer classes, set the ThemedWindow‘s dx:DXSerializer.Enabled attached property to true.

<dx:ThemedWindow dx:DXSerializer.Enabled="True">
    ...
</dx:ThemedWindow> 
See Also