Here's the scenario:
A Silverlight app (just a wireframe) that is hosted on an html page (no aspx/server side solution, just a client side html page loaded from c:\somefolder\mysilverlight.html), actually it is hosted in a WPF app using WebBrowser control.
The WPF app needs to inject Silverlight xaml in to the Silverlight wireframe dynamically during runtime. So that the page gets rendered.
The silverlight xaml being pumped in to the Wireframe is a xaml string that has event handlers and custom classes. So I can't use XamlReader.Load.
The InitializeFromXaml was removed in Silverlight 3 so I can't use that either.
Any other alternatives?
Update: I am trying to build a lightweight Xaml Editor with quick preview, and I do need to load it from a xaml string. Application.LoadComponent works only for compiled SL assemblies