Simple play icon Course
Skills Expanded

Extending XAML Applications With Behaviors

by Brian Noyes

Behaviors let you add functionality to existing controls and elements in a declarative fashion in your XAML. This course shows you how to use the built-in Blend behaviors to cover a wide range of scenarios and how to implement your own custom behaviors for any scenario as well.

What you'll learn

When building XAML applications in WPF, Silverlight, Windows 8, or Windows Phone, you will often find yourself saying, "If only this element had the ability to do X, Y, or Z from the XAML!" Behaviors are a pattern of extensibility in XAML that allow you to add capabilities to existing XAML elements yourself, even if you don’t have access to the source code of the elements you are trying to extend. You can extend elements that are part of the core XAML libraries, 3rd party controls, or even your own controls all using a set of pre-built behaviors or by building your own custom behaviors. In this course, you will learn what behaviors are all about, how they are built and work, and why you want to use them. You'll learn how to get highly productive quickly by using the pre-built Blend SDK and Behaviors SDK built-in behaviors, as well as how to build custom behaviors from scratch for more specialized scenarios. You will see how the same set of skills and built-in behaviors will allow you to apply the same kinds of functionality across the different XAML stacks of WPF, Windows 8, Windows Phone, and Silverlight.

Table of contents

About the author

Brian Noyes is CTO and Architect at Solliance (www.solliance.net), an expert technology solutions development company. Brian is a Microsoft MVP and specializes in client application architecture, full stack web development, cloud and microservice architecture. Brian has authored several books and dozens of technology publication articles, including Developer's Guide to Microsoft Prism 4, Data Binding with Windows Forms 2.0, and Smart Client Deployment with ClickOnce. Brian got started programmin... more

Ready to upskill? Get started