September 2012
Intermediate to advanced
464 pages
10h 55m
English
Markup extensions are used to extend the capabilities of XAML, by providing declarative operations that need more than just setting some properties. These can be used to do pretty much anything, so caution is advised – these extensions must preserve the declarative nature of XAML, so that non-declarative operations are avoided; these should be handled by normal C# code.
Make sure Visual Studio is up and running.
We'll create a new markup extension that would provide random numbers and use it within a simple application:
CH01.CustomMarkupExtension ...