Skip to main content

DiagramItemDrawingEventArgs(DiagramControl, DiagramItem, ItemTool, DiagramActionStage, Point, Point) Constructor

Initializes a new instance of the DiagramItemDrawingEventArgs class.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v24.1.dll

NuGet Package: DevExpress.Wpf.Diagram

Declaration

public DiagramItemDrawingEventArgs(
    DiagramControl source,
    DiagramItem item,
    ItemTool tool,
    DiagramActionStage stage,
    Point startPosition,
    Point endPosition
)

Parameters

Name Type Description
source DiagramControl

A DiagramControl that raised the event.

item DiagramItem

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

tool DevExpress.Diagram.Core.ItemTool

A drawing tool.

stage DiagramActionStage

A DiagramActionStage enumeration value that indicates whether the drawing operation has just started, is continuing or has been finished or canceled.

startPosition Point

The starting point of the drawing operation on the canvas.

endPosition Point

The ending point of the drawing operation on the canvas.

See Also