Vixen
dd8b0a81

UiInvalidationKind

enum Core/Vixen.Ui/Diagnostics.cs:18
csharp
public enum UiInvalidationKind

What made a region of the interface need doing again.

Read the guide page for this →

Remarks

⚠ The kinds a selector can tell apart, because that is what decides the cost. These are the four invalidation entry points the restyle already distinguishes — see StyleChangeKind — and the distinction is the one a person reading a debug overlay wants: a class change can reach a sibling, an inline write cannot reach anything but a subtree, and Document is the one that re-cascades everything.

Fields and properties (4)

  • Class

    A class was added or removed. Reaches whatever a selector says it does.

  • State

    A state — hover, focus, disabled — changed on an element.

  • Inline

    A declaration was written on the element itself, reaching only its subtree.

  • Document

    Something no record can express, so the next pass is a cold one over the document.

Used by (4)

  • DiagnosticsTestsVixen.Ui.Tests
  • UiDirtyRegionVixen.Ui
  • UiDocumentVixen.Ui
  • UiElementVixen.Ui