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(DiagramItem, ItemTool, DiagramActionStage, PointFloat, PointFloat) Constructor

In This Article

Initializes a new instance of the DiagramItemDrawingEventArgs class.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.2.dll

NuGet Package: DevExpress.Win.Diagram

#Declaration

public DiagramItemDrawingEventArgs(
    DiagramItem item,
    ItemTool tool,
    DiagramActionStage stage,
    PointFloat startPosition,
    PointFloat endPosition
)

#Parameters

Name Type Description
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 PointFloat

The starting point of the drawing operation on the canvas.

endPosition PointFloat

The ending point of the drawing operation on the canvas.

See Also