September 2012
Intermediate to advanced
464 pages
10h 55m
English
We've seen property triggers and data triggers. Both triggers are based on comparing a property to a value. The third type of supported trigger is an event trigger. This trigger type fires when a routed event occurs, executing animation-related actions. Let's see how to configure an event trigger.
Open the CH08.StyledCalculator project.
We'll continue with the calculator sample by making the UI come into view with an animation set up by an event trigger:
MainWindow.xaml.Grid as follows: ...