Skip to main content
All docs
V24.1

DXSerializer.AddLayoutUpgradeHandler(DependencyObject, LayoutUpgradeEventHandler) Method

Adds a handler for the LayoutUpgrade attached event.

Namespace: DevExpress.Xpf.Core.Serialization

Assembly: DevExpress.Xpf.Core.v24.1.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