Skip to main content
A newer version of this page is available. .

DiagramItemInitializingEventArgs(DiagramControl, DiagramItem, ItemUsage) Constructor

Initializes a new instance of the DiagramItemInitializingEventArgs class.

Namespace: DevExpress.Xpf.Diagram

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

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