TextBlock Color inside Button (with Blend 2015)
Posted: 14 Feb 2018, 19:10
I have problem with states and Color for TextBlock.
I want change color and blend animation for TextBlock. I can easily set up everything in States. But when I run program from Blend, it crash, I get
I want change color and blend animation for TextBlock. I can easily set up everything in States. But when I run program from Blend, it crash, I get
I saw in Noesis Theme, there is ContentPresenter for text inside Button, but unfortunately can't change color for ContentPresenter inside Blend 2015 and I have to use TextBlock instead.An unhandled exception of type 'System.InvalidOperationException' occurred in PresentationFramework.dll Additional information: Cannot animate '(0).(1)' on an immutable object instance.