Learn your way! Get started

Microsoft Silverlight 5, Part 1 of 2: Data, Binding, and Text

with expert Adam Barney


Watch trailer


Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack

Release date 9/5/2012
Level Advanced
Runtime 2h 13m
Closed captioning N/A
Transcript N/A
eBooks / courseware N/A
Hands-on labs N/A
Sample code Included
Exams Included


Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More



Course description

In this course, we will take an in-depth look at some of the most welcome changes to Silverlight. We will dive in to the many improvements to an already very powerful data binding model, looking at how these changes help us create applications using MVVM- the architecture that benefits the most from these improvements. Text layout and rendering is another area that has received a lot of much-needed attention, bringing new features such as pixel-snapped text, multi-column layout of text, and OpenType support.

Prerequisites

This course assumes that students have some programming background and experience using Visual Studio 2010. The course assumes knowledge of Visual C# and of the .NET Framework.

Learning Paths

This course is part of the following LearnNowOnline SuccessPaths™:
Silverlight in Web Applications

Meet the expert

Adam Barney has been writing code in one form or another since the 4th grade and has been 100% focused on .NET since 2005. He is currently a senior-level consultant living in Lincoln, NE where he co-founded and runs both the Lincoln .NET Users Group and Nebraska Code Camp. Adam also enjoys speaking at user groups, code camps, and developer conferences in the Midwest.

Course outline



Introduction and Data Binding

Introduction (27:03)
  • Introduction (00:59)
  • Silverlight 5 (00:57)
  • Is Silverlight dead? (00:35)
  • Why should I use Silverlight 5? (01:01)
  • What"s New In Silverlight 5 (01:09)
  • Data binding improvements (01:20)
  • Model-View-ViewModel (01:01)
  • MVVM Structure (01:26)
  • Connecting the peices of MVVM (02:23)
  • Demo: MVVM (05:13)
  • Demo: Commands (06:12)
  • Demo: ViewModel (04:01)
  • Summary (00:41)
Data Binding Debugging (05:21)
  • Introduction (00:59)
  • Data Binding Debugging (00:54)
  • Demo: Data Binding Debugging (03:00)
  • Summary (00:27)
Update Source Trigger (08:06)
  • Introduction (00:58)
  • New UpdateSourceTrigger (00:29)
  • Demo: UpdateSourceTrigger (02:04)
  • Demo: DelgateCommand (04:02)
  • Summary (00:30)
Implicit Data Templates (17:55)
  • Introduction (00:42)
  • Implicit Data Templates (01:25)
  • Demo: Implicit Data Templates (03:49)
  • Demo: ViewModel List (05:54)
  • Demo: Rendering Items (03:45)
  • Demo: More Templates (01:35)
  • Summary (00:42)

Data Binding and Text

Ancestor Relative Source (13:53)
  • Introduction (00:56)
  • Ancestor RelativeSource binding (00:45)
  • Demo: RelativeSource binding (05:58)
  • Demo: ItemsControl (04:10)
  • Demo: CommandParameter (01:34)
  • Summary (00:27)
Custom Markup Extensions (13:47)
  • Introduction (00:41)
  • Custom markup extensions (00:54)
  • Demo: Markup Extensions (05:36)
  • Demo: Custom Markup (04:05)
  • Gotchas (01:32)
  • Summary (00:58)
Binding In Style Setters (10:30)
  • Introduction (00:28)
  • Binding in Style Setters (00:35)
  • Demo: Binding in Setters (05:59)
  • Demo: Swap (02:56)
  • Summary (00:30)
Text Improvements (22:29)
  • Introduction (00:45)
  • Text improvements (00:39)
  • Character spacing and line (00:47)
  • Linked Text (01:14)
  • TextOptions (01:43)
  • Demo: Text Improvements (05:37)
  • Demo: Character Spacing (05:31)
  • Demo: Text Rendering (02:19)
  • Demo: Display Text (03:23)
  • Summary (00:27)
Open Type Support (14:00)
  • Introduction (00:40)
  • OpenType Support (00:49)
  • Demo: OpenType Font (04:53)
  • Demo: OpenType Features (04:25)
  • Demo: OpenType Options (02:41)
  • Summary (00:29)