TypeConverters provide a means of converting a String to the appropriate .NET type or a new instance when XAML is processed. I’ve already looked at how the XAML parser searches for TypeConverters (XAML and TypeConverters ) Now let’s take a look at how to create our custom TypeConverter.
At a minimum, for a class to [...]
Posts Tagged ‘.NET’
Creating a Custom XAML TypeConverter
Posted in Programming, tagged .NET, C#, Silverlight, XAML on February 3, 2010 | Leave a Comment »
XAML and TypeConverters
Posted in .NET, Programming, tagged .NET, C#, Silverlight, XAML on January 20, 2010 | 2 Comments »
In a XAML document, every element maps to an instance of a Silverlight (.NET) class. The properties of this instance can be set through attributes in the XAML file. There is a bit of a catch though. These attribute values (in the XAML file) are in text form, whereas the corresponding Silverlight property is a [...]
Silverlight – Getting started with XAML
Posted in .NET, Programming, tagged .NET, C#, Silverlight, XAML on January 17, 2010 | Leave a Comment »
XAML stands for eXtensible Application Markup Language (pronounced zamm-uhl). It is an XML based markup language used to instantiate .NET objects. XAML was initially designed as part of Windows Presentation Foundation (WPF), and allows developers to define rich user interfaces. A XAML file defines the elements that make up a content region. This enables a [...]