SchedulerViewBase.Invalidate(Rectangle) Method

Invalidates the specified region of the current View (adds it to the control's update region which will be repainted during the next paint operation), and sends a paint message to the scheduler control.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.2.dll


public virtual void Invalidate(
    Rectangle bounds
Public Overridable Sub Invalidate(
    bounds As Rectangle


Name Type Description
bounds Rectangle

A Rectangle structure that specifies the region to paint.


The Invalidate method does not force a synchronous paint. To force a synchronous paint, call the Update method of your scheduler control after calling the Invalidate method.

A View is automatically invalidated when necessary. You can force invalidation manually to implement specific behavior, such as custom painting of scheduler elements.

See Also