Panel.bgcolor readwrite


Get or set the Panel background color.

Example

--! luart-extensions import ui -- create a fixed Panel local win = ui.Window("Panel.bgcolor sample", "fixed", 320, 200) -- create a blue Panel local panel = ui.Panel(win, 0, 0, 100, 100) panel.bgcolor = 0xffcc00 panel:center() await win:showasync()