I am attempting to use XAML to represent and load a graph of custom types that form a semantic model for a business domain.
One thing I would like to do is to be able to obtain a reference to the "root object" of the graph from an object deeper in the tree. I cannot find any straightforward way of doing this other than resorting to barbarous practices like having the root object as a singleton.
Any ideas?