Silverlight / WPF

W09 Learn to Behave - Extend Your XAML with Behaviors

05/16/2012

1:30pm - 2:45pm

Level: Intermediate

Brian Noyes

CTO and Co-founder

Solliance

Behaviors allow you to add functionality to XAML elements in WPF, Silverlight, and Metro in a similar fashion to how extension methods allow you to add functionality to a class without having to modify the definition of that class. In this session, you will learn about the structure of behaviors, how to declare them and hook them up, and see a number of useful examples of what they can do for you. You will learn about some of the behaviors in the Blend SDK that you can use out of the box as well as how to define your behaviors as either attached behaviors or Blend behaviors. You'll also learn where you can find more community developed behaviors.

You will learn:

  • How to define attached and Blend behaviors.
  • How to hook behaviors up to XAML elements.
  • How to leverage the built in Blend SDK behaviors and others available.