Back to Devexpress

CustomDrawCellEventArgs Members

windowsforms-devexpress-dot-xtraspreadsheet-dot-customdrawcelleventargs-dot-underscore-members.md

latest4.9 KB
Original Source

CustomDrawCellEventArgs Members

Provides data for the SpreadsheetControl.CustomDrawCell event.

Fields

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

Properties

NameDescription
BoundsReturns the bounding rectangle of the drawing area. Inherited from CustomDrawCellEventArgsBase.
CacheGets an object that serves as the storage for pens, fonts and brushes. Inherited from CustomDrawObjectEventsArgs.
CellGets the worksheet cell being painted. Inherited from CustomDrawCellEventArgsBase.
FillBoundsReturns the bounding rectangle of the drawing area for painting the cell background. Inherited from CustomDrawCellEventArgsBase.
FontGets the font attributes of the painted cell.
ForeColorGets or sets the color of the text within the painted cell.
GraphicsGets an object used for painting. Inherited from CustomDrawObjectEventsArgs.
HandledGets or sets whether an event is handled. If true, the default actions are not required. Inherited from CustomDrawObjectEventsArgs.
TextGets or sets the painted cell’s text.

Methods

NameDescription
DrawDefault()Renders the element using the default drawing mechanism. Inherited from CustomDrawObjectEventsArgs.
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.
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

CustomDrawCellEventArgs Class

DevExpress.XtraSpreadsheet Namespace