I am attempting to write a MarkupExtension
to support the process of instantiating custom types via XAML. My custom types are POCOs and not descendants of DependencyObject
. There seems to be no straightforward XAML mechanism for MarkupExtensions
to obtain references to objects in the graph that is being loaded. I note that the WPF machinery provides some of these capabilities but the relevant properties are all internal
.
Any ideas?