求silverlight里的尤其是这句话UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" 怎么解释

This item was filled under [ 新闻News ]

<UserControl x:Class=”SilverlightApplication2.Page”
    xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation“ 
    xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml“ 
    Width=”400″ Height=”400″>
    <UserControl.Resources>
        <Storyboard x:Name=”coinGameStoryBoard”>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetName=”coinGame” Storyboard.TargetProperty=”(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)” BeginTime=”00:00:00″>
                <SplineDoubleKeyFrame KeyTime=”00:00:00″ Value=”1.875″/>
                <SplineDoubleKeyFrame KeyTime=”00:00:04″ Value=”1.875″/>
                <SplineDoubleKeyFrame KeyTime=”00:00:05″ Value=”0.971″/>
                <SplineDoubleKeyFrame KeyTime=”00:00:07″ Value=”0.97100001573562622″/>
                <SplineDoubleKeyFrame KeyTime=”00:00:08″ Value=”1.109″/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetName=”coinGame” Storyboard.TargetProperty=”(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)” BeginTime=”00:00:00″>
                <SplineDoubleKeyFrame KeyTime=”00:00:00″ Value=”2.66″/>
                <SplineDoubleKeyFrame KeyTime=”00:00:04″ Value=”2.6600000858306885″/>
                <SplineDoubleKeyFrame KeyTime=”00:00:05″ Value=”0.987″/>
                <SplineDoubleKeyFrame KeyTime=”00:00:07″ Value=”0.9869999885559082″/>
                <SplineDoubleKeyFrame KeyTime=”00:00:08″ Value=”0.987″/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetName=”coinGame” Storyboard.TargetProperty=”(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)” BeginTime=”00:00:00″>
                <SplineDoubleKeyFrame KeyTime=”00:00:00″ Value=”100″/>
                <SplineDoubleKeyFrame KeyTime=”00:00:04″ Value=”35″/>
                <SplineDoubleKeyFrame KeyTime=”00:00:05″ Value=”-1.5″/>
                <SplineDoubleKeyFrame KeyTime=”00:00:06″ Value=”237.5″/>
                <SplineDoubleKeyFrame KeyTime=”00:00:07″ Value=”470.5″/>
                <SplineDoubleKeyFrame KeyTime=”00:00:08″ Value=”464.996″/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetName=”coinGame” Storyboard.TargetProperty=”(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)” BeginTime=”00:00:00″>
                <SplineDoubleKeyFrame KeyTime=”00:00:00″ Value=”41.5″/>
                <SplineDoubleKeyFrame KeyTime=”00:00:04″ Value=”41.5″/>
                <SplineDoubleKeyFrame KeyTime=”00:00:05″ Value=”0″/>
                <SplineDoubleKeyFrame KeyTime=”00:00:06″ Value=”-18″/>
                <SplineDoubleKeyFrame KeyTime=”00:00:07″ Value=”79″/>
                <SplineDoubleKeyFrame KeyTime=”00:00:08″ Value=”79.047″/>
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>
    </UserControl.Resources>
    <Canvas x:Name=”LayoutRoot” Background=”White”>
        <Image x:Name=”coinGame” Canvas.Left=”200″ Canvas.Top=”400″ Width=”100″ Height=”100″ Source=”Image/Mouse.jpg”>
            <Image.RenderTransform>
                <TransformGroup>
                    <ScaleTransform/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </Image.RenderTransform>
        </Image>
    </Canvas>
</UserControl>

 

 

上面的代码 <DoubleAnimationUsingKeyFrames Storyboard.TargetName=”coinGame” Storyboard.TargetProperty=”(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)” BeginTime=”00:00:00″>怎么解释

尤其是这句话UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)”

喜欢这篇文章的人还喜欢。。。

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Comment

Anti-spam text: (Required) *
To prove you're a person (not a spam script), type the security text shown in the picture. Click here to regenerate some new text. Click to hear an audio file of the anti-spam word