Skip to main content

SchedulerViewBase.Invalidate() Method

Invalidates the region occupied by the current View (adds it to the control’s update region which will be repainted during the next paint operation), and causes a paint message to be sent to the scheduler control.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.dll

NuGet Package: DevExpress.Win.Scheduler

Declaration

public void Invalidate()

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 Invalidate.

A View is automatically invalidated each time it is required. You may find that your application requires specific behaviors to be implemented for a View such as custom painting particular scheduler elements. If so, you may need to force invalidation manually.

See Also