Silverlight / WPF

TH01 Extending XAML To Overcome Pretty Much Any Limitation

05/17/2012

8:00am - 9:15am

Level: Intermediate to Advanced

Miguel Castro

Miguel Castro

MRD

President

Melvicorp LLC

One of the things I’ve always said about WPF is that there is nothing I can’t do in an application. When Microsoft set out to design WPF, Silverlight, and now WinRT XAML Apps, they architected it in a way that if you come across anything that they didn’t think of, you can extend the platform yourself. In this session I’ll show you how to develop two types of behaviors as well as your own markup extensions. Behaviors are elements that you set to something in order to add characteristics and functionality to XAML, while markup extensions are what you set properties to. The {Binding} markup extension is one that Microsoft provided for you, now come learn how to write your own, even if it’s to simply standardize on repetitive binding settings.

You will learn:

  • What's behind XAML Data Binding
  • How to write XAML Behaviors (Attached Properties & Blend Behaviors)
  • Writing Markup Extensions