Method SuppressInvalidate
SuppressInvalidate()
Increments the suppression counter to temporarily disable repaint logic.
public void SuppressInvalidate()
Remarks
Use this method to batch updates or prevent unnecessary visual refreshes
during layout or property changes.
Each call to SuppressInvalidate() must be balanced with
a corresponding call to EndInvalidateSuppression(bool).
While suppression is active, calls to Invalidate() should be
ignored or deferred.