Skip to main content
All docs
V23.2

DXSerializer.AddLayoutUpgradeHandler(DependencyObject, LayoutUpgradeEventHandler) Method

Adds a handler for the LayoutUpgrade attached event.

Namespace: DevExpress.Xpf.Core.Serialization

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public static void AddLayoutUpgradeHandler(
    DependencyObject dObj,
    LayoutUpgradeEventHandler handler
)

Parameters

Name Type Description
dObj DependencyObject

The event source.

handler LayoutUpgradeEventHandler

A method (or methods) that should be invoked when the target (dObj) raises the event.

See Also