Table of Contents

Method SuppressInvalidate

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

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.