March 2007 Blog Posts

Complex PropertyPath syntax

Originally published on my old Charteris blog I am blogging this for my own benefit as much as anyone else's because I am always forgetting this relatively simple thing. Often in XAML you will need to specify a property by class and member such as "Image.IsMouseOver". This simple syntax is straight forward, easy to remember, and known as PropertyPath syntax. What is not so obvious is that you can move down the object hierarchy to access child properties. I needed to do this today and it is this that prompted my post. On the Loaded event of an Image, in a...

Don’t forget XamlPad

Originally published on my old Charteris blog Those people who have come to WPF in the last 3 or 4 months are rather spoilt with WPF editing tools like Expression Blend and the editor in Visual Studio (Orcas) release codenamed Cider. However don't forget XamlPad. XAMLPad.exe gets installed as part of the Windows .NET 3.0 SDK and it's a quick and simple way to put together samples and ideas. Some time around Beta 2 of WinFx XamlPad was updated and got the very useful Visual Tree Explorer. This gives you a read only view of the visual tree and is particularly...