How can I update a text box on Enter and LostFocus?
In WPF, it is easier to learn databinding than it is to write volumes and volumes of code to update properties on your UI. If you're brand-new to databinding, I've got a getting started guide to...
View Articleusing System.Linq, sometimes more isn't better
I definitely need to spend more time to see the light about Linq.I feel so confused now when I open intellisense to a cacophony of 68 members on a simple array....and feel so much better when I remove...
View ArticleWahoo!
It's great day for debugability - you can now step into .net framework source code!Go Shawn!
View ArticleSpending quality time to get to know MarkupExtensions
I've been playing with MarkupExtensions, and after a day of trial and mostly error, there was both delight and heartache. I'll give you the summary, as well as the long and rambly story.The...
View ArticleProgramming WPF in Parallels
Someone asked whether there would be any issues programming WPF in using a virtual machine on a mac. I have tried lots of new things this past year, and one of them happens to be Parallels on a MacBook...
View ArticleDebugging databindings
Sometimes you databind and nothing happens. Your world is totally empty and there's no databind trace spew in the output window. If you want to have a look at the data as it is coming through, I just...
View ArticleTreeNode - a class to help bind to a TreeView
I made a very simple mistake binding to a treeview that took me forever to figure out what was going wrong. I realized that most the samples of binding to a treeview miss the core case of binding to a...
View ArticleQuickly finding the content property
It's one thing to type in <Paragraph>some text</Paragraph>, but how do you know which property to set if you're writing it in code?The "Content" of a XAML tag is specified by the...
View ArticleThe Story of the Ribbon
I highly enjoyed this presentation from Jensen Harris on how the Office team created the Ribbon.
View ArticleMythbusting
There seems to be a prevailing myth that if you live in Australia, you can code at the beach. Obviously those who believe this haven't considered the practicalities of the situation.It's hard to read a...
View ArticleBack from the beyond...
I've been on a bit of a break from blogging, if you hadn't noticed. Quite randomly I went to Raymond's blog, and noticed the mention about timers and dispose. Yes the finalizer does attempt to clean up...
View ArticleDoing something a bit different this year...
I thought I'd take some time this year to see what all the rage is with all these smartphones.Having never made a game before, I thought I'd give it a try. It took me several months to decide what and...
View ArticleExperiments in Game Making
I am not the most avid game player in the world. I often think fondly back to when games were simpler – the Commodore 128 and Vic 20 games – where you had 1 little guy in a fixed world which wrapped...
View ArticleStruggles with the Panorama Control
At the start of the project, I read through the UI design guide for the windows phone. It is a really important first step towards understanding the design intentions of the people who were closest to...
View ArticleMen use thumbs, women use index fingers?
This is totally unscientific as I had a sample group of 5 people...Of the 2 guys and 3 girls I had testing my app, I found that they all held the device very differently. The two right-handed guys I...
View ArticleBeware the loaded event
The biggest source of bugs I had with my application centered around use of the Loaded event.Problem 1: PerformanceThe more pages your Panorama has – and the more complex the pages are, the slower it...
View Article
More Pages to Explore .....