A newer version of this page is available. Switch to the current version.

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.v18.2.dll

Declaration

public void Invalidate()
Public Sub 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