How to extract color from a 3rd party SolidColorBrush resource

74 Views Asked by At

I have a DynamicResource called "resource" defined by a 3rd party. It references a SolidColorBrush and its color changes based on certain things.

I need to create a color animation that starts with the current color of "resource" but I don't know how to extract the Color from the resource in xaml and use it in the ColorAnimation.

Is this somehow possible without using code behind?

0

There are 0 best solutions below