Skip to Main Content
Silverlight 5 in Action
book

Silverlight 5 in Action

by Pete Brown
June 2012
Beginner content levelBeginner
1000 pages
33h 35m
English
Manning Publications
Content preview from Silverlight 5 in Action

Chapter 15. Extensions, converters, custom controls, and panels

 

This chapter covers
  • Using markup extensions
  • Understanding type converters
  • Creating a custom panel
  • Creating a custom control

 

Now that you know the structure and rules for XAML files, let’s look at something that allows you to bend those rules a little: extensions.

XAML allows you to represent almost anything using the object element and property attribute syntaxes. But some things can get cumbersome to do that way. For that reason, XAML includes the concept of extensions in the form of markup extensions and type converters. Silverlight also includes the concept of a value converter, but because that’s used almost exclusively with binding, I’ll cover it in chapter 16.

You’ll ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Silverlight 4 in Action

Silverlight 4 in Action

Pete Brown

Publisher Resources

ISBN: 9781617290312Publisher SupportOtherPublisher WebsitePurchase Link