Skip to content
Version 2.35.0
↓ Get the launcher

WindowSpec.BackgroundColor property

Borderless windows only (fw 2.33.0+): a poll-diffed, COLOURED backdrop panel drawn behind the content and filling the whole window rect at every resize size. It is a single non-layout Image, so a colour change never relayouts the window (safe on hot HUD windows). The returned colour is applied as-is, alpha included — compose the theme colour and fade it by your opacity setting and the theme window opacity in the delegate (allocation- free: return a struct, cache the delegate). Alpha 0 disables the Image (no draw). Wins over BackgroundOpacity when both are set. Null (default) = no backdrop, exactly as before.

public Func<ColorRgba>? BackgroundColor { get; set; }