Styling and Skinning Objects
This will demonstrate how you can modify the appearance of controls in your
application. There are numerous ways to do this, and various tools to do it with; I will attempt to
cut through the noise and focus in on the three most common use cases:
1. Use the controls as they are, modifying their appearance slightly by setting styles "in
line" within the XAML (or through the properties window in Visual Studio or Blend)
2. Create re-usable Style objects to enable a uniform appearance for controls that serve the
same function (e.g. all prompts look alike)
3. Create templates to "re-skin" controls - radically changing their appearance while
maintaining their behavior.
application. There are numerous ways to do this, and various tools to do it with; I will attempt to
cut through the noise and focus in on the three most common use cases:
1. Use the controls as they are, modifying their appearance slightly by setting styles "in
line" within the XAML (or through the properties window in Visual Studio or Blend)
2. Create re-usable Style objects to enable a uniform appearance for controls that serve the
same function (e.g. all prompts look alike)
3. Create templates to "re-skin" controls - radically changing their appearance while
maintaining their behavior.
Comments