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.v18.2.dll

Declaration

public class LayoutUpgradeEventArgs :
    EventArgs
Public Class LayoutUpgradeEventArgs
    Inherits EventArgs

Remarks

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.

NOTE

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

Inheritance

See Also