CustomDrawDayNumberCellEventArgs.Bounds Property

Gets the painted element’s bounding rectangle.

Namespace: DevExpress.XtraEditors.Calendar

Assembly: DevExpress.XtraEditors.v21.2.dll


public Rectangle Bounds { get; }

Property Value

Type Description

A Rectangle structure specifying the boundaries of the painted element.


To paint an object you must define a Graphics object used to paint and a rectangle specifying the object’s boundaries. When custom painting, you can access these values via the CustomDrawDayNumberCellEventArgs.Graphics and Bounds properties of the event parameter.

See Also