Skip to main content

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

NuGet Package: DevExpress.Data

Declaration

public class LayoutUpgradeEventArgs :
    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