Scott Logic Ltd

Archive For "styling" Tag

A Circular ProgressBar Style using an Attached ViewModel

Colin Eberhardt, February 7th, 2011

This blog post describes how to re-template the Silverlight ProgressBar control to render a circular progress indicator. This approach uses an attached view model to circumnavigate some of the limitations of the ProgressBar design. This blog post describes the creation of the following funky styles for the ProgressBar (and a bit of a rant about [...]

Read More


Using CSS Selectors for Styling in WPF

Colin Eberhardt, March 11th, 2009

When I first encountered WPF I was really impressed by its styling and templating features which are more powerful than anything else I had previously seen for desktop software development. The property-value pairing within styles instantly reminded me…

Read More


Styling hard-to-reach elements in control templates with attached behaviours

Colin Eberhardt, February 10th, 2009

OK, the title of this blog post is not very snappy, but it is not an easy problem to describe in a few short words. Here’s the rub, the WPF DataGrid has a select-all button located in the top-left corner, just like Excel and many other grid contr…

Read More

© 2013 Scott Logic Ltd. All Rights Reserved.