Skip to main content

CustomHitTestEventArgs Members

Provides data for the DiagramControl.CustomHitTest event.

Constructors

Name Description
CustomHitTestEventArgs(DiagramItem, PointF, RectangleF, Single) Initializes a new instance of the CustomHitTestEventArgs class with the specified settings.

Fields

Name Description
Empty static Provides a value to use with events that do not have event data. Inherited from EventArgs.

Properties

Name Description
Angle Gets the angle by which the diagram item is rotated around its anchor point relative to the diagram canvas.
Bounds Gets the bounds of the item to which the test points belongs.
Item Gets the item to which the test point belongs.
ItemHeight Gets the height of the item to which the test point belongs.
ItemWidth Gets the width of the item to which the test point belongs.
Point Gets the object that represents the position of the test point relative to the item it belongs to.
Result Gets or sets whether the test point belongs to a diagram item.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also