Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

In This Article

Initializes a new instance of the DiagramItemDrawingEventArgs class.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v24.2.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