TreeMap in Silverlight Toolkit: How to write your own interpolator

One of the new concepts introduced in the TreeMap control are Interpolators. They are used for example to interpolate the colors of rectangles or the font size in the titles of the NHL teams in the sample TreeMap in the picture above. I would like to show how easy it is to create your new…

0

TreeMap control is comming to Silverlight Toolkit

Since this is my first post after over one month break I own an explanation. I have two excuses: one is of course vacations and the other one is really nice. Together with the colleagues of mine, I had the pleasure to work on a new control – TreeMap – that is included in the…

10

Silverlight: How to use CompositionTarget.Rendering event to synchronize discrete and non-discrete animations

I’ve brought up this topic in the recent post, but I was pointed out it can be lost among other content and is not stressed enough. Everything brings down to the fact that some actions, particularly animations cannot be easily enclosed in storyboards. For example let’s imagine that we animate an object X,Y positions. When…

2

GetBindingExpression – a good way to iterate over all dependency properties in visual tree in Silverlight 3?

Recently I’ve tried to iterate over all dependency properties in the subset of visual tree. Despite it can be fragile, it is useful in advanced scenarios when certain actions needs to be trigged basing on binding’s path, converter or converter parameters. As a lazy programmer, I tried to find something over the Internet. All I…

1

Animate anything anywhere with behaviors in Silverlight 3 (and 2!) (Animations part II)

Introduction In the previous article on my Blog we have implemented a Panel with 3D (or rather projections) animations. It was cool but we had also two, innate shortcomings there. The first was that the architecture required to implement a new panel and the second was it didn’t provide a good separation of concerns between…

1

How to create generic animated panels in Silverlight 2 and 3 (Animations part I)

Introduction I’ve always had mixed feelings toward animations in cases of generic controls, panels or item controls. From one side it is extremely easy to define standard animations associated with visual states. From the other implementing any more sophisticated animation means that a generic control becomes a user control. In this first article in series…

5

Silverlight 3: Template Binding vs. Relative Binding

Playing with SL3, I did a small research to find differences between Relative Binding and TemplateBinding in SL3 when used in generic templates:   ·         Automatic Conversion is not supported in template binding, so with priority being int type, that won’t work   <TextBlock Text=”{TemplateBinding Priority}”/>   But this workaround will:   <TextBlock DataContext=”{TemplateBinding Priority}…

2

The blog has started!

Hi Everyone In first post I would like to introduce myself. I’m Marek Latuskiewicz and I’m a development Lead in the team dealing (among other things) with Silverlight Visualizations for various types of data. Why am I starting this blog? The reason is I’ve notice that many programmers (especially without WPF background) when first writing…

1