Tag Archives: XAML

XAML Resources

Every element in Silverlight contains a Resource property that maintains a dictionary of resources. This collection can hold any type, and a key is used to refer to each individual resource. Each element has access to its own resources as … Continue reading

Leave a Comment

Filed under .NET, Programming

Custom Attached Properties in Silverlight

An attached property is a type of global property that is settable on any nested object. In Silverlight (and WPF), attached properties are usually defined as a specialized case of Dependency Properties, and like all dependency properties they are managed … Continue reading

Leave a Comment

Filed under .NET, Programming

Creating a Custom XAML TypeConverter

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 … Continue reading

4 Comments

Filed under Programming

Adding a Custom Silverlight Control

Silverlight has a ton of controls that we can use in our Silverlight apps. Most of the times, this collection of controls is sufficient, but every once in a while, we need to create a custom control. Adding a new … Continue reading

5 Comments

Filed under .NET, Programming

XAML and TypeConverters

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 … Continue reading

3 Comments

Filed under .NET, Programming

Silverlight – Getting started with XAML

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. … Continue reading

3 Comments

Filed under .NET, Programming