Gets an object used to paint.
A Graphics object used to paint.
The Graphics property gives you access to an object representing the painting surface and providing a means to paint. When custom painting, you can use methods and properties of this object to perform the necessary tasks. Another element required to perform correct painting is the rectangle that bounds the Graphics object. This is provided by the CustomDrawDayNumberCellEventArgs.Bounds property.