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.LayoutUpgrade Attached Event

In This Article

Occurs when the application’s current layout version is higher than in the serialized storage (XML file/Stream).

Namespace: DevExpress.Xpf.Core.Serialization

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

#Remarks

Do the following to update your application’s layout to a different application version:

  1. Add or increment the DXSerializer.LayoutVersion attached property value.
  2. Change your application’s layout.
  3. If the DXSerializer.LayoutVersion attached property value of your application is lower than the new property value, the LayoutUpgrade event is fired.

View Example: How to use the LayoutUpgrade event to upgrade a layout from one version to another

See Also