Extending XAML Applications With Behaviors
Offered By: Pluralsight
Course Description
Overview
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.
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.
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.
Syllabus
- Behaviors Overview 36mins
- Blend Behaviors, Triggers, and Actions 24mins
- Invoking Logic With Behaviors 19mins
- Managing Visual State With Behaviors 19mins
- Animating Elements With Behaviors 22mins
- Custom Behaviors 45mins
Taught by
Brian Noyes
Related Courses
Interactive 3D GraphicsAutodesk via Udacity Creative Coding
Monash University via FutureLearn Make Your Own 2048
Udacity An Introduction to Interactive Programming in Python (Part 2)
Rice University via Coursera HTML5 Coding Essentials and Best Practices
World Wide Web Consortium (W3C) via edX