DXSerializer.LayoutUpgrade Attached Event
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
See AddLayoutUpgradeHandler(DependencyObject, LayoutUpgradeEventHandler) and RemoveLayoutUpgradeHandler(DependencyObject, LayoutUpgradeEventHandler).
Remarks
Do the following to update your application’s layout to a different application version:
- Add or increment the DXSerializer.LayoutVersion attached property value.
- Change your application’s layout.
- If the DXSerializer.LayoutVersion attached property value of your application is lower than the new property value, the LayoutUpgrade event is fired.
See Also