PanelElement record
A themed panel container: fills its area with the active theme’s menu background + a 1px border and lays out a single Child inside with uniform padding. Use it to give a borderless popup (e.g. a right-click context menu) a real panel look and to block click-through to whatever is behind.
public record PanelElement : IEquatable<HudElement>Public Members
Section titled “Public Members”| name | description |
|---|---|
| PanelElement(…) | A themed panel container: fills its area with the active theme’s menu background + a 1px border and lays out a single Child inside with uniform padding. Use it to give a borderless popup (e.g. a right-click context menu) a real panel look and to block click-through to whatever is behind. |
| Child { get; set; } | The content laid out inside the panel. |
| Padding { get; set; } | Uniform inner padding in pixels. |
See Also
Section titled “See Also”- record HudElement
- namespace Stellar.Abstractions.Services