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.

Archive for the 'Silverlight' Category

Stock Data Visualization Using Silverlight

Friday, January 21st, 2011

I’ve written an article on CodeProject on visualizing live and historic stock data using Silverlight. In the article I’m presenting a pretty generic way of fetching, parsing and displaying the stock data. The structure of the article is as follows: Define data structures for storing and defining interfaces for fetching live and historical data. Implement [...]

Read the rest of this entry »

On the Silverlight Firestarter Scott Guthrie gave a preview of the new features being developed in Silverlight 5. I’ve written an article on the 10 most important new features Silverlight developers should be excited about. These are the following: Debug Data Binding Expressions by Using Breakpoints in XAML Animations Made Easy with Transitions Navigating Up [...]

Read the rest of this entry »

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 »

This post aims to present a structured collection of resources for developers wanting to get started developing for Windows Phone 7 in Silverlight, but don’t have any Silverlight or WPF experience. I’m also aiming this post at peopleĀ  who’ve started developing for WP7 without too much WPF/Silverlight experience and would like to learn more about [...]

Read the rest of this entry »

I wasn’t planning in submitting (yet) another workaround for a Silverlight bug, but I stumbled across (yet) another annoying issue that causes no problems in WPF, but results in a exception being thrown in Silverlight. It definitely seems like another Silverlight bug still present in Silverlight 4. The problem I was building Paths by re-using [...]

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’ve recently ran into an issue: I wanted to draw an element with a dashed stroke using a Style I’ve created on the fly. To my surprise I couldn’t. The Problem The type of the StrokeDashArray (that is defined on Shape) is a DoubleCollection. So naturally I tried setting a DoubleCollection instance as the Value [...]

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 »