Skip to main content

DiagramItemInitializingEventArgs(DiagramControl, DiagramItem, ItemUsage) Constructor

Initializes a new instance of the DiagramItemInitializingEventArgs class.

Namespace: DevExpress.Xpf.Diagram

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

NuGet Package: DevExpress.Wpf.Diagram

Declaration

public DiagramItemInitializingEventArgs(
    DiagramControl source,
    DiagramItem item,
    ItemUsage itemUsage
)

Parameters

Name Type Description
source DiagramControl

The DiagramControl that raised the event.

item DiagramItem

A DiagramItem object representing the diagram item that is being initialized.

itemUsage ItemUsage

A ItemUsage enumeration value that indicates whether the item is a part of the diagram or toolbox preview.

See Also