Change color for checkbox

Hi, please, I need change the color for checkbox when the is checked, how can i change it?

Thank you.

Tomas

Image_7685_1696632076805


3 Replies

YA YuvanShankar Arunagiri Syncfusion Team October 10, 2023 12:29 PM UTC

Hi Tomas,


We have checked your reported query, and using the CssClass property of Checkbox component, we can customize the background color of the checkbox. And we have some in-built CSS classes for checkbox components. Kindly refer to the below UG link for more details.


UG link: https://blazor.syncfusion.com/documentation/check-box/how-to/customized-checkbox ,


Query:  I need change the color for checkbox when the is checked, how can i change it?


Using the below class name, we can customize the checkbox background color for checked state.

UG link: https://blazor.syncfusion.com/documentation/check-box/style-and-appearance


<style>

    .e-checkbox-wrapper .e-frame.e-check {

        background-color: red;

    }

</style>



Get back to us if you need any further assistance on this.


Regards,

YuvanShankar A



TR Tomas Rojas replied to YuvanShankar Arunagiri October 11, 2023 05:16 PM UTC

Thank you, 

I did it.



KV Keerthikaran Venkatachalam Syncfusion Team October 16, 2023 04:56 AM UTC

You are welcome, Tomas. Please get back to us if you need any other assistance


NOTE: If that post is helpful, please mark it as an answer so that other members can locate it more quickly.


Loader.
Up arrow icon