CustomHitTestEventArgs(DiagramItem, PointF, RectangleF, Single) Constructor

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

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v20.1.dll


public CustomHitTestEventArgs(
    DiagramItem item,
    PointF point,
    RectangleF bounds,
    float angle
Public Sub New(
    item As DiagramItem,
    point As PointF,
    bounds As RectangleF,
    angle As Single


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.


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

See Also