locked
Tapped event for grid is not recognized as routed event

    Question

  • Hi everybody,

    Can somebody help me with this. I' really stuck. I want to create an opacity animation when I tap on a grid but I get an error that the Tapped event is not a routed event. Here is my code

    				<Grid.Triggers>
                                            <EventTrigger RoutedEvent="Tapped"> <!--The event Tapped is not a routed event-->
                                                <EventTrigger.Actions>
                                                    <BeginStoryboard>
                                                        <Storyboard>
                                                            <!--Animation-->
                                                        </Storyboard>
                                                    </BeginStoryboard>
                                                </EventTrigger.Actions>
                                            </EventTrigger>
                                        </Grid.Triggers>

    Thaks in advance.

    Sunday, December 07, 2014 6:49 AM

Answers

All replies