locked
App hits access violation if storyboard is applied on gridview or flipview (only in touch mode) RRS feed

  • Question

  • I have the following xaml..

    <Storyboard x:Name="TestFlipViewGridEntrance">
               	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationX)" Storyboard.TargetName="TestFlipViewGrid">
            		<EasingDoubleKeyFrame KeyTime="0" Value="15"/>
            		<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0"/>
            	</DoubleAnimationUsingKeyFrames>
            	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.LocalOffsetY)" Storyboard.TargetName="TestFlipViewGrid">
            		<EasingDoubleKeyFrame KeyTime="0" Value="-800"/>
            		<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0"/>
            	</DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Name="TestFlipViewGridExit">
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationX)" Storyboard.TargetName="TestFlipViewGrid">
                    <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:1" Value="15"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.LocalOffsetY)" Storyboard.TargetName="TestFlipViewGrid">
                    <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:1" Value="-800"/>
                </DoubleAnimationUsingKeyFrames>
            </Storyboard> 
    
    <Grid x:Name="TestFlipViewGrid" Background="Black" Opacity="0.85" ManipulationStarted="TestFlipViewGrid_ManipulationStarted_1" ManipulationDelta="TestFlipViewGrid_ManipulationDelta_1">
            	<Grid.Projection>
            		<PlaneProjection/>
            	</Grid.Projection>
            	<FlipView x:Name="TestFlipView" ItemsSource="{Binding Source={StaticResource TestFlipViewCollectionViewSource}}"  Margin="229,93,231,185" Canvas.ZIndex="2"/>
            </Grid>
    
    

    When i run this code on a touch device and touch the flipview after storyboard animation, app hits AV in some xaml.dll
    Saturday, August 11, 2012 7:33 AM

All replies

  • Hello,

    Would you please provide us the whole codes to reproduce this issue,

    You can upload your project to skydriver
    http://skydrive.live.com/

    It is not necessary that you send out the whole of your project. We just need a simplest sample to reproduce the problem. You can remove any confidential information or business details from it.

    Best regards,
    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us

    Tuesday, August 14, 2012 7:31 AM
  • Someone found the solution??

    I have the same problem..

    Thursday, October 11, 2012 9:37 AM