Element.InvalidateMeasure method
Invalidates the Measure pass, causing a re-measure on next layout.
public virtual void InvalidateMeasure()Remarks
Section titled “Remarks”Idempotent per dirty cycle: if already dirty, returns immediately (Measure will reset the flag). This bounds both the upward propagation and the optional subtree cascade to a single visit per node per cycle. For hosts that implement ISubtreeInvalidationHost, the dirty flag also cascades into the visual subtree so private composition (e.g. ScrollViewer/presenter) does not get skipped by Measure’s same-constraint short-circuit.
See Also
Section titled “See Also”- class Element
- namespace Aprillz.MewUI.Controls