当前位置: 代码迷 >> Windows Mobile >> 这里怎么把VALUE的值设置成图片路径
  详细解决方案

这里怎么把VALUE的值设置成图片路径

热度:11   发布时间:2016-04-25 07:20:11.0
这里如何把VALUE的值设置成图片路径
 <VisualState x:Name="Disabled">
                                            <Storyboard>
                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentContainer">
                                                    <DiscreteObjectKeyFrame KeyTime="0" Value="Black"/>
                                                </ObjectAnimationUsingKeyFrames>
                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ButtonBackground">
                                                    <DiscreteObjectKeyFrame KeyTime="0" Value="Black"/>
                                                </ObjectAnimationUsingKeyFrames>
                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="ButtonBackground">
                                                    <DiscreteObjectKeyFrame KeyTime="0" Value="/Assets/getcode.png" />//这里如何把VALUE的值设置成图片路径
                                                </ObjectAnimationUsingKeyFrames>
                                            </Storyboard>
                                        </VisualState>

------解决方案--------------------
Value="/Assets/getcode.png" 本身不就是路径??不太明白你什么意思
  相关解决方案