Questions tagged [coloranimation]
71 questions
1
vote
1 answer
Animate DropShadowEffect Color
How to animate a DropShadowEffect's color that has been already applied to an element with XAML without the need to re-apply a new DropShadowEffect?
I tried this:
private void test()
{
DropShadowEffect DS_Moon =…
![](../../users/profiles/3993190.webp)
Enumy
- 811
- 2
- 8
- 20
1
vote
1 answer
How to apply a storyboard on a trigger selectively based on if the TargetProperty exists
I have a DataTrigger that animates Background.Color on a Grid Row. It works good when Background is of type SolidColorBrush because that has a Color property.
But when that Grid Row is highlighted, the Background becomes LinearGradientBrush which…
![](../../users/profiles/1411014.webp)
fahadash
- 3,174
- 1
- 25
- 52
1
vote
0 answers
How to extract color from a 3rd party SolidColorBrush resource
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…
![](../../users/profiles/166452.webp)
Ignacio Soler Garcia
- 20,097
- 26
- 114
- 195
1
vote
2 answers
Animate TextBox background when value has changed
I want to animate the textbox (Price) backround color depending on the new value from the ViewModel.
Color can be different depending on the new value (greater 0 -> green - less 0 -> red)
The only animation i can see is at startup when the new value…
![](../../users/profiles/1104344.webp)
Thomas Geulen
- 191
- 3
- 14
1
vote
1 answer
Cannot read property 'propHooks' of undefined jQuery animate
I get the error
Uncaught TypeError: Cannot read property 'propHooks' of undefined
When using color animation in jQuery.
![](../../users/profiles/630203.webp)
Djave
- 6,772
- 5
- 54
- 98
1
vote
1 answer
ListBoxItem Background Color Change
I have a ListBox, and there are a few items. How can I change the Background of the ListBoxItem, when mouse hovers it? I tried with this code, but it returns error: