Skip to main content
A newer version of this page is available.

CustomDrawDayNumberCellEventArgs.Graphics Property

Gets an object used to paint.

Namespace: DevExpress.XtraEditors.Calendar

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

public Graphics Graphics { get; }

Property Value

Type Description
Graphics

A Graphics object used to paint.

Remarks

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