vendredi 4 décembre 2015

XAML How to Style Checkbox's box color?

I am do a UWP project that needed to style a checkbox's box color. I see I am able to change the label color of the checkbox, but not the box itself.

enter image description here

My coding is relatively simple:

<CheckBox x:Name="cb1" Content="Checkbox" Foreground="#FFE01515"/>

I googled a numbers of website, I know custom template is the solution but I don't know how to build the resource.

So, how to style the box of the checkbox?




Aucun commentaire:

Enregistrer un commentaire