CustomDrawDayNumberCellEventArgs.Graphics Property

Gets an object used to paint.

Namespace: DevExpress.XtraEditors.Calendar

Assembly: DevExpress.XtraEditors.v20.1.dll


public Graphics Graphics { get; }
Public ReadOnly Property Graphics As Graphics

Property Value

Type Description

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.

See Also