IColorSlot interface
Handle returned by IColorRegistry’s Register methods. Read Value when drawing — it resolves to the colour for the active theme, honouring user overrides. Cache the handle, not the value.
Disposing a slot unregisters it from the owning IColorRegistry.
public interface IColorSlot : IDisposableMembers
Section titled “Members”| name | description |
|---|---|
| Value { get; } | Resolves the color for the currently active theme preset, honouring user overrides. |
See Also
Section titled “See Also”- namespace Stellar.Abstractions.Services