Skip to content

Element.InvalidateArrange method

Invalidates the Arrange pass, causing a re-arrange on next layout.

public virtual void InvalidateArrange()

Mirrors InvalidateMeasure: even when this node is already dirty, the upward propagation is re-issued so a parent that cleared its own dirty flag mid-pass (e.g. a child re-dirtying after the parent’s ArrangeCore finished arranging it) still gets notified. Without this, ScrollIntoView-style re-arrange requests issued during a parent’s Arrange would silently drop. Cascades into ISubtreeInvalidationHost subtrees so private composition re-arranges instead of short-circuiting on unchanged bounds.