Skip to content
Version 2.11.0
↓ Get the launcher

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 : IDisposable
name description
Value { get; } Resolves the color for the currently active theme preset, honouring user overrides.