CustomDrawDayNumberCellEventArgs.Bounds Property

Gets the painted element's bounding rectangle.

Namespace: DevExpress.XtraEditors.Calendar

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public Rectangle Bounds { get; }
Public ReadOnly Property Bounds As Rectangle

Property Value

Type Description
Rectangle

A Rectangle structure specifying the boundaries of the painted element.

Remarks

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