Reputation: 907
My app uses gray background, i change the border of checkbox with borderbrush, but i dont find any attribute to change the color of the mark within checkbox. So, any solution ?
Upvotes: 1
Views: 1353
Reputation: 1
You can change it on the Resources property of the control:
DirectCast(Checkbox1.Resources("CheckBoxForegroundThemeBrush"),
SolidColorBrush).Color = Windows.UI.Colors.Black
Upvotes: 0
Reputation: 23280
You've got a few options. If we go check out the default template the glyph Path
that makes the checkmark visual has a Fill
assigned to CheckBoxForegroundThemeBrush
which you could change at the template level. Or at the resource level where you would find that resource declaration. Or you could change it at the instance level.
Hope this helps, cheers.
Upvotes: 1