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

CustomHitTestEventArgs(DiagramItem, PointF, RectangleF, Single) Constructor

Initializes a new instance of the CustomHitTestEventArgs class with the specified settings.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.2.dll

NuGet Package: DevExpress.Win.Diagram

#Declaration

public CustomHitTestEventArgs(
    DiagramItem item,
    PointF point,
    RectangleF bounds,
    float angle
)

#Parameters

Name Type Description
item DiagramItem

A DiagramItem to which the test point belongs.

point PointF

A PointF value that is the current test point position within the item.

bounds RectangleF

A A RectangleF object that represents the bounds of the item to which the test point belongs.

angle Single

A Single value that is the angle in degrees by which the item is rotated around its anchor point.

#Remarks

Instances of the CustomHitTestEventArgs class are automatically created, initialized and passed to the corresponding event handlers.

See Also