-
I copied this from another issue: #2927 (cc @Mgamerz ) Has this changed for the Mahapps 2.0? I added your code to the window resources that contains the checkbox (and adjusted to be based on the Mahapps.Styles.Checkbox style), but it still doesn't let me change the color.
The checkbox color however is still the color theme. I see a lot of extensions in CheckboxHelper, but not sure if these do anything, as there is no documentation on them. https://mahapps.com/api/MahApps.Metro.Controls/CheckBoxHelper/ |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @Mgamerz , Almost all You have now two options to style the
You may also want to try the new Win10-Style: <CheckBox Content="Test"
IsChecked="True"
Style="{DynamicResource MahApps.Styles.CheckBox.Win10}" /> Happy coding P.S.: Next time please do not ask questions in closed issues. There is a big chance that you might get no answer. You may use the discussions area or ask on gitter (https://gitter.im/MahApps/MahApps.Metro) |
Beta Was this translation helpful? Give feedback.
Hi @Mgamerz ,
Almost all
ResourceKeys
changed in v2.0. Here is an overview about most of the breaking changes: https://mahapps.com/docs/guides/migration-to-v2.0You have now two options to style the
CheckBox
Brushes
like<SolidColorBrush x:Key="MahApps.Brushes.CheckBox.ForegroundChecked" Color="White" />
CheckBoxHelper
You may also want to try the new Win10-Style:
Happy coding
Tim
P.S.: Next time please do not ask questions in c…