Finally got my new bike this Thursday. Ridley Excalibur Team Unibet frameset, mostly Shimano Dura-Ace 10 speed components, DT Swiss wheelset.
Just finished building it, now it’s time to hang it on the wall… I mean ride it.
Archive for July, 2008
New Bike!
Posted in Fun on July 19, 2008 | Leave a Comment »
Localize Enum Values
Posted in Uncategorized on July 16, 2008 | Leave a Comment »
In a previous post I created a markup extension which could be used to bind an Enum’s values to an ItemsControl. Now what if we want those values to be localized? The following is a little trick I use to solve this problem.
My translations are stored in .NET resources. When I add a resource [...]
Resource Markup Extension
Posted in WPF on July 16, 2008 | 2 Comments »
In my spare time I’m working on a smallish WPF application which will need to be localized. Looking at WPF’s current localization story left me wanting. What I really wanted was good old fashioned .NET resources accessible in xaml.
One option is to generate public resource files using the PublicResXFileCodeGenerator custom tool new to VS [...]
Veggie Box
Posted in Fun on July 10, 2008 | Leave a Comment »
Everybody’s doing it… A variety of delicious organic fruits and vegetables tailored by you to your unique preferences and delivered to your door! What could be wrong with that?
Enum GetValues markup extension
Posted in WPF on July 8, 2008 | 2 Comments »
There are plenty of posts dealing with binding an ItemsControl to an Enum’s values. Beatriz Costa demonstrates how to accomplish this purely in xaml. We end up with something like the following.
<ObjectDataProvider MethodName="GetValues"
ObjectType="{x:Type s:Enum}" x:Key="EnumValues">
<ObjectDataProvider.MethodParameters>
<x:Type TypeName="src:DevicePointFormat" />
</ObjectDataProvider.MethodParameters>
</ObjectDataProvider>
This feels a little on the verbose side to me. The [...]
Summer Goat
Posted in Uncategorized on July 8, 2008 | 1 Comment »
My name is Scott Alexander and this will be my third attempt at writing a blog (sounds like step 1 of a 12 step program).
I’m a software developer working for little software company in Redmond, Washington. The purpose of this blog is not entirely clear. I envision it being mainly technical but I warn you [...]