animate the stroke of a shape wpf code example
Example: animate the stroke of a shape wpf
<Storyboard x:Name="myStoryboard">
<ColorAnimation Storyboard.TargetName="ShapeName" From="Red" To="Green"
Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)"
/>
</Storyboard>