EntityMenuItem.IconPng property
Optional icon for the item (framework 2.33.0): PNG bytes of a flat WHITE glyph on transparency — the renderer tints it (muted, or red for a destructive item) and draws it in a 16 px slot at the label’s left. Supply a 32 px drawing (it reads crisply at every UI scale the menu draws at); null = the renderer’s generic dot. The same array is handed back on every ItemsFor call, so a renderer may cache by reference. An init property, NOT a record-constructor parameter, so plugins compiled against an older Abstractions keep binding new EntityMenuItem(label, onClick).
public byte[]? IconPng { get; set; }See Also
Section titled “See Also”- struct EntityMenuItem
- namespace Stellar.Abstractions.Services