Skip to main content

CustomDrawItemEventArgs Members

Provides data for the DiagramControl.CustomDrawItem event.

Fields

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

Properties

Name Description
Appearance Provides access to the item’s appearance settings.
Context Returns the value that indicates whether the item is to be drawn on the canvas, toolbox, in the print or export output or as the drag preview.
Decorator
Graphics Returns an object that provides painting facilities.
GraphicsCache Returns an object that provides painting facilities.
Item Gets the processed diagram item.
Size Gets the item size.

Methods

Name Description
DefaultDraw(CustomDrawItemMode) Allows you to define which elements of the default painting should be painted.
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.
GetItemRelativePosition(PointF)
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