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

Declaration

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

Parameters

Name Type Description
bounds Rectangle

A Rectangle structure that specifies the region to paint.

Remarks

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