yotabit
Style dependent on a property
I found all properties that are changed when accent is applied
https://github.com/MahApps/MahApps.Metro/blob/8d46a8a8447085887703f0ab0ecae4ad95ec9289/src/MahApps.Metro/Styles/Controls.Buttons.xaml#L594
15 replies
Style dependent on a property
Thank you for you comment!
The problem is: the
Accent
Button is not just the Default
button with a different background
(Accent).
When {StaticResource MahApps.Styles.Button.Dialogs.Accent}
style is applied, it also changed properties like the Foreground to white, on mouse over, etc15 replies
Is there any benefit to write a Property with a private variable ?
I think that the easiest way to see the reason is to understand that not always you'll just get/set the same value.
For example:
In this case, you return a String, but what you have is an integer
34 replies