48+ Wpf Border Background Color Animation Background

Coloranimation storyboard.targetproperty=(background).(solidcolorbrush.color) to the problem is that i always get this error :

48+ Wpf Border Background Color Animation Background. I want to animate the background of a border when the mouse is enters and leaves. It needs a solid background in order to work.

Https Encrypted Tbn0 Gstatic Com Images Q Tbn 3aand9gctlhv7clpwhbn7rix1wnllgbj59 Zvrnhbyng Usqp Cau
Https Encrypted Tbn0 Gstatic Com Images Q Tbn 3aand9gctlhv7clpwhbn7rix1wnllgbj59 Zvrnhbyng Usqp Cau from i2.wp.com
Design border around the controls in wpf application. In wpf app i am trying to animate a border colour change on mouseenter event of a textbox. 'background' property does not point to a dependencyobject.

Use coloranimationusingkeyframes to animate the foreground color of a textblock.

I want to animate the background of a border when the mouse is enters and leaves. In order to get a sharp cut off, i animate two stops. We can add colors to them, adjust their thickness, and. Animation in wpf has been made easier because wpf achieves animation by modifying properties of elements, whereas in windows forms, a developer has to create a timer and modify the appearance of elements on the tick event of a timer.