ConditionalElement record
React-style conditional. Both subtrees are built once; the renderer SetActive-toggles them each refresh from When (no reconciliation). Else may be null. Fill = the active branch expands to fill leftover height in a fixed-size (Resizable) window (so e.g. a meter’s list scroll grows with the window). Default false — no effect in content-sized windows.
public record ConditionalElement : IEquatable<HudElement>Public Members
Section titled “Public Members”| name | description |
|---|---|
| ConditionalElement(…) | React-style conditional. Both subtrees are built once; the renderer SetActive-toggles them each refresh from When (no reconciliation). Else may be null. Fill = the active branch expands to fill leftover height in a fixed-size (Resizable) window (so e.g. a meter’s list scroll grows with the window). Default false — no effect in content-sized windows. |
| Else { get; set; } | |
| Fill { get; set; } | |
| Then { get; set; } | |
| When { get; set; } |
See Also
Section titled “See Also”- record HudElement
- namespace Stellar.Abstractions.Services