ControlDiagnosticCode Type
Closed classification (`ControlDiagnosticCode`) of an authoring or runtime defect, from `MissingRequiredAttribute` and `MissingStableKey` to `ContrastFailure`, `KeyCollision`, `StaleGeneratedReference`, and the feature-113 `UnstableReuseInput`.
Union cases
| Union case |
Description
|
Full Usage:
ContrastFailure
|
|
Full Usage:
DuplicateAttribute
|
|
Full Usage:
HitTestFailed
|
|
Full Usage:
KeyCollision
|
|
Full Usage:
LayoutConflict
|
|
Full Usage:
MissingAccessibilityMetadata
|
|
Full Usage:
MissingRequiredAttribute
|
|
Full Usage:
MissingStableKey
|
|
Full Usage:
OffscreenComposition
|
Feature 116 (Phase 7): a control whose paint requires OFFSCREEN COMPOSITION — a non-opaque opacity group over a multi-node subtree, a clip (`ClipNode`), or a drop-shadow/image-filter (`DropShadow`). Offscreen composition allocates a separate layer + composite (a real backend cost and a cache-defeating boundary), so the framework surfaces it as actionable advisory context. Advisory ONLY: never fails a build, never alters rendered output (matching the `KeyCollision` non-blocking model). |
Full Usage:
StaleGeneratedReference
|
|
Full Usage:
UnstableReuseInput
|
Feature 113 (Phase 5): an always-new input (a rebuilt `UntypedValue`, a per-frame event closure, an unstable key) that compared unequal across two builds of the same model and so defeats memoized subtree reuse. Reported by `Diagnostics.stabilityReport`; advisory only. |
Full Usage:
UnsupportedEnvironment
|
|
Full Usage:
UnsupportedStateCombination
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.IsContrastFailure
Returns: bool
|
|
Full Usage:
this.IsDuplicateAttribute
Returns: bool
|
|
Full Usage:
this.IsHitTestFailed
Returns: bool
|
|
Full Usage:
this.IsKeyCollision
Returns: bool
|
|
Full Usage:
this.IsLayoutConflict
Returns: bool
|
|
Full Usage:
this.IsMissingAccessibilityMetadata
Returns: bool
|
|
Full Usage:
this.IsMissingRequiredAttribute
Returns: bool
|
|
Full Usage:
this.IsMissingStableKey
Returns: bool
|
|
Full Usage:
this.IsOffscreenComposition
Returns: bool
|
|
Full Usage:
this.IsStaleGeneratedReference
Returns: bool
|
|
Full Usage:
this.IsUnstableReuseInput
Returns: bool
|
|
Full Usage:
this.IsUnsupportedEnvironment
Returns: bool
|
|
Full Usage:
this.IsUnsupportedStateCombination
Returns: bool
|
|