Chapter 23 Notes
Title: Triggers and behaviors
Summary
Relates to XAML allowing triggers and behaviors.
Programming Concepts Summary
Concept |
Page |
Programs
Program EntryPop
Page 837.
Concepts:
- Shows an Entry changed by a trigger. .
Program EntryPopCode
Page 839.
- Shows previous program but set in code. Not interesting really since the whole purpose was to do it in XAML.
However there is no support for animations in XAML, this requires code! See new class: Easing on page 432.
Program EntrySwell
Page 844.
Shows the implementation in XAML of a ScaleAction.
New Classes:
EnterExitSwell
Page 846.
- Demo's both directions...
New Classes:
Trigger.EnterActions
Trigger.ExitActions
Program ButtonGrowth
Page 849
- Demo's making buttons grow and shrink.
Program SiverButtonDemo
Page 851.
- Like it says make it shiver ... its more about the toolkit!
Don't have a tapped event? Use a behavior p. 851... Later!
Program TriggerEntryValidation
Page 852.
Data Trigers