Greg Does IT

Do it to get it

About

The blog of Gergely Orosz on Silverlight, .NET and other IT related topics. Follow me @gergelyorosz on Twitter.

I’ve been writing a 4 part series on everything (I think) is worth knowing about styles in Silverlight. The previous parts were Silverlight Styles: an Introduction, Silverlight Styles: Advanced Topics and Silverlight Styles: Further Advanced Topics The final part of the series is ready and it covers the following topics: Modifying Styles Runtime: the IsSealed [...]

Read the rest of this entry »

I’ve come across a really annoying bug in Silverlight 3 that seems to be fixed in Silverlight 4, but still present in WP7. When creating a Style object in runtime, then setting that as the Style of an element in the visual tree, the Value properties in the Setters of the original Style are set [...]

Read the rest of this entry »

I’m writing a 4 part series on everything (I think) is worth knowing about styles in Silverlight. The previous parts were Silverlight Styles: an Introduction and Silverlight Styles: Advanced Topics. The third part of the series is ready and it covers the following topics: Style is a dependency property. Because of this, it supports the [...]

Read the rest of this entry »

Styles in Silverlight – Advanced Topics

Thursday, July 29th, 2010

I’m writing a 4 part series on everything (I think) it’s worth knowing about styles. In the second part of the series (following the previous one Styles in Silverlight – an Introduction) I’m covering the following topics: Re-Using Styles for Different Types: the TargetType of the Style can be a parent type of the target [...]

Read the rest of this entry »

Styles in Silverlight: an Introduction

Saturday, July 24th, 2010

I’m writing a (planned) 4 parts series on everything I think it’s worth knowing about styles in Silverlight. The first part is ready and it covers the following topics: What are Styles?Styles are basically list of property-value pairs. Defining a style consists declaring the TargetType property and the list of Setters. Defining Styles in XAMLDefining [...]

Read the rest of this entry »