Storyboard.TargetProperty
<Border Style="{StaticResource toolBarButton}" Height="25" x:Name="toolbarBTN">
<Border.Resources>
<Storyboard x:Name="moveOut">
<ColorAnimation Duration="0:0:0.5" Storyboard.TargetName="toolbarBTN"
Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)"
From="Blue" To="Red" />
</Storyboard>
Storyboard.TargetProperty=(Border.Background).(SolidColorBrush.Color)这样不对吗?
提示:无法解析指定对象的TargetProperty (Border.Background).(SolidColorBrush.Color)