TileElement record
Icon tile (launcher): a centred PNG Icon over an optional Label, no background. Hover brightens icon+label and grows the icon ~1.18× (the native rail feel). The whole tile clicks via OnClick. When Pinned != null, a ★/☆ toggle overlays the top-right corner (its own click → OnTogglePin). Label null ⇒ icon-only (title-bar mode/rotate toggles); a non-null Func ALWAYS builds the label cell (so a live label that is empty at build time — e.g. a plugin that registers later — still shows its name once available).
public record TileElement : IEquatable<HudElement>Public Members
Section titled “Public Members”| name | description |
|---|---|
| TileElement(…) | Icon tile (launcher): a centred PNG Icon over an optional Label, no background. Hover brightens icon+label and grows the icon ~1.18× (the native rail feel). The whole tile clicks via OnClick. When Pinned != null, a ★/☆ toggle overlays the top-right corner (its own click → OnTogglePin). Label null ⇒ icon-only (title-bar mode/rotate toggles); a non-null Func ALWAYS builds the label cell (so a live label that is empty at build time — e.g. a plugin that registers later — still shows its name once available). |
| Icon { get; set; } | |
| IconSize { get; set; } | |
| Label { get; set; } | |
| OnClick { get; set; } | |
| OnTogglePin { get; set; } | |
| Pinned { get; set; } | |
| Width { get; set; } |
See Also
Section titled “See Also”- record HudElement
- namespace Stellar.Abstractions.Services