Back to Devexpress

CustomDrawItemEventArgs Members

windowsforms-devexpress-dot-xtradiagram-dot-customdrawitemeventargs-dot-underscore-members.md

latest4.0 KB
Original Source

CustomDrawItemEventArgs Members

Provides data for the DiagramControl.CustomDrawItem event.

Fields

NameDescription
Empty staticProvides a value to use with events that do not have event data. Inherited from EventArgs.

Properties

NameDescription
AppearanceProvides access to the item’s appearance settings.
ContextReturns 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
GraphicsReturns an object that provides painting facilities.
GraphicsCacheReturns an object that provides painting facilities.
ItemGets the processed diagram item.
SizeGets the item size.

Methods

NameDescription
DefaultDraw(CustomDrawItemMode)Allows you to define which elements of the default painting should be painted.
Equals(Object, Object) staticDetermines 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() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines 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

CustomDrawItemEventArgs Class

DevExpress.XtraDiagram Namespace