Thanks for your prompt reply. Unfortunately I am using the freeware 'community' edition, and so don't seem to have access to the required DLL in order to use the resource dictionary in that way. The workaround will have to suffice!
James.
James.