Skip to content

UIElement.InvalidateVisualState method

Queues this element for visual-state reconciliation at the start of the next layout pass; call it when a property that feeds ComputeVisualState changes.

public void InvalidateVisualState()

Repeated calls before the pass runs are merged, and a detached element is skipped since attach-time style resolution recomputes its state.