简体   繁体   中英

Wpf checkbox colorize

How to colorize system checkbox in WPF? Sample image: Color checkbox

I want a simple colorize a background and not effect and restyle checkbox. But set Background="Red" change circle checkbox. Ex.: circle bg Thanks.

you can use the live visual tree tool within a wpf app to find the name/key of the check area. You can then create a style based on the default checkbox style with a setter that targets the item and sets it colour.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM