Friday, June 12, 2009

Creating Rich, Dynamic User Interfaces with Silverlight 2

•User control, motivations
–Re-use
–Modularization
–Encapsulation
•Same concept as in WPF
•No more need for "InitializeFromXaml()", KeyDown Event can now be handled on any component level, not just the application level like before

•Data binding is very simple in Silverlight
• flow layout is probably even sweeter than databinding.
•Accessibility of controls
–Keyboard tab, focus, directional navigation
–Screen reader support based on UIAutomation (check Mark Rideout's videos)

•Custom Control, motivations
–For default L&F
•add generic.xaml file
•set BuildAction to Resource
•remove CustomTool build action
•add ResourceDictionary with default L&F for the Custom control.

No comments:

Post a Comment