January 2007 Blog Posts
Originally published on my old Charteris blog
Whilst working on my graph control a couple of nights ago I found that I needed to have the values of my X axis stacked with the first item at the bottom and the last at the top. I was using the ItemsPanel default of a StackPanel, this StackPanel element does give you some control over how the items are stacked using the Orientation property. Unfortunately that only goes as far as saying “stack horizontally or vertically”.
My first thought was create a custom implementation of the StackPanel adding the ability to invert the...