Back to Devexpress

DXSerializer.LayoutVersion Attached Property

wpf-devexpress-dot-xpf-dot-core-dot-serialization-dot-dxserializer-3c1aee2a.md

latest2.0 KB
Original Source

DXSerializer.LayoutVersion Attached Property

Gets or sets a version of the application’s layout. This is an attached property.

Namespace : DevExpress.Xpf.Core.Serialization

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

NuGet Package : DevExpress.Wpf.Core

Declaration

See GetLayoutVersion(DependencyObject) and SetLayoutVersion(DependencyObject, String).

Returns

TypeDescription
String

The application’s layout version.

|

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

DXSerializer Events - Advanced Scenarios

LayoutUpgrade

DXSerializer Class

DXSerializer Members

DevExpress.Xpf.Core.Serialization Namespace