私は普遍的なアプリケーションを開発しています。私はFlipViewを使うことに決めました。私はコードビハインドからSelectionChangedイベントを簡単にアニメーション化できますが、XAMLだけを使用してこのイベントをアニメーション化する方法があるかどうか不思議です。 (BTW、UseTouchAnimationsForAllNavigation = "True" does not work)。私は(限りSelectionChangedイベントがRoutedEventArgsから継承された引数を取るよう)この使用方法は、EventTriggerは大丈夫だと思うFlipView EventTrigger for SelectionChangedイベント
<FlipView x:Name="MultipleItems">
<FlipView.Triggers>
<EventTrigger RoutedEvent="Selector.SelectionChanged">
<BeginStoryboard>
<Storyboard x:Name="ColorStoryboard">
//do stuff
</Storyboard>
</BeginStoryboard>
</EventTrigger>
<FlipView.Triggers>
</FlipView>
、それはまだ私のランタイムエラーを与える: だから、ここで私がやっているの簡単な例ですFlipViewを含むページへのナビゲーション。
エラーは次である:
WinRT information: Failed to assign to property 'Windows.UI.Xaml.EventTrigger.RoutedEvent'. [Line: 69 Position: 35]
Additional information: The text associated with this error code could not be found.
私は正しくそのするRoutedEventプロパティを割り当てる方法がありますと信じて、しかし、私はまだそれを見つけるdidntの。また、私はそのような単純なことのために行動を使用するつもりはありません。
誰でも手助けできますか?