2012-06-25 3 views
0

스토리 보드를 타원과 함께 사용하는 대신 목록 <의 이미지와 함께 사용하려면 다음 코드에서 변경해야하는 항목은 무엇입니까?스토리 보드 변경 대상 WP7

<Storyboard x:Name="sbMoveImages"> 
     <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateX)" Storyboard.TargetName="ellipse"> 
      <EasingDoubleKeyFrame KeyTime="0" Value="-1"/> 
      <EasingDoubleKeyFrame KeyTime="0:0:3" Value="641"/> 
      <EasingDoubleKeyFrame KeyTime="0:0:5" Value="640"/> 
     </DoubleAnimationUsingKeyFrames> 
     <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="ellipse"> 
      <EasingDoubleKeyFrame KeyTime="0" Value="1"/> 
      <EasingDoubleKeyFrame KeyTime="0:0:3" Value="0"/> 
      <EasingDoubleKeyFrame KeyTime="0:0:5" Value="160"/> 
     </DoubleAnimationUsingKeyFrames> 
     <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.Rotation)" Storyboard.TargetName="ellipse"> 
      <EasingDoubleKeyFrame KeyTime="0:0:3" Value="0"/> 
      <EasingDoubleKeyFrame KeyTime="0:0:5" Value="359.82"/> 
     </DoubleAnimationUsingKeyFrames> 
    </Storyboard> 

답변

0

Storyboard.TargetName 만 변경하면 충분합니다.

+0

나는 그 일을 시도했지만 구문 론적 방법을 잘 모르겠습니다. 정교하게 주시겠습니까? 코드 스 니펫을 제공 할 가능성이 있습니까? 고맙습니다. – Subby

+0

그건 어떻게 작동하지 않습니다. 당신은 당신이 시도한 것과 당신이 가지고있는 특정 이슈를 보여줍니다. 완전하고 최소한의 재현은 사람들이 당신을 도울 수 있도록 도울 수 있습니다. –