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

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

Initializes a new instance of the DiagramItemDrawingEventArgs class.

Namespace: DevExpress.Xpf.Diagram

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Diagram, 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