I want to be able to create an instance of the DataContext object for my WPF StartupUri window in XAML, as opposed to creating it code and then setting the DataContext property programmaticly.
The main reason is I don't need to access the object created externally and I don't want to have to write code behind just for setting the data context.
I'm sure I've read somewhere how to instantiate the data context object in XAML but I can't find it in any of the usual places...