public override void Draw(IGraphicsAdapter pSystem) { pSystem.DrawRect(Bounds, _background); if (IsToggled) { pSystem.DrawRectOutline(Bounds, Border); } }