A newer version of this page is available. Switch to the current version.

LayoutUpgradeEventArgs Class

Provides data for the events raised when upgrading a control’s layout (e.g., BaseView.LayoutUpgrade, BarManager.LayoutUpgrade, etc.).

Namespace: DevExpress.Utils

Assembly: DevExpress.Data.v19.1.dll


public class LayoutUpgradeEventArgs :


The LayoutUpgrade event occurs every time a layout is restored from storage (a stream, xml file or system registry) and its version differs from the version of the current layout. The LayoutUpgradeEventArgs class introduces the LayoutUpgradeEventArgs.PreviousVersion property, which returns the textual representation of the previous layout version.


LayoutUpgradeEventArgs objects are automatically created, initialized and passed to the LayoutUpgrade event handlers.


See Also