Skip to main content
All docs
V24.2

DXSerializer.AddCreateCollectionItemEventHandler(DependencyObject, XtraCreateCollectionItemEventHandler) Method

Adds a handler for the CreateCollectionItemEvent attached event.

Namespace: DevExpress.Xpf.Core.Serialization

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public static void AddCreateCollectionItemEventHandler(
    DependencyObject dObj,
    XtraCreateCollectionItemEventHandler handler
)

Parameters

Name Type Description
dObj DependencyObject

The event source.

handler DevExpress.Xpf.Core.Serialization.XtraCreateCollectionItemEventHandler

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

See Also