Say I have an 'ContentPage' - object without the XAML file. Is it possible to display the contents of it in foreground fullscreen or in a grid column of an app?
I have a plugin which has an Interface
public interface IPlugin
{
ContentPage GetPluginUI();
}
The Plugin itself returns a new instance of my source XAML file "BigView"
public ContentPage GetPluginUI()
{
return new BigView();
}
which is derived from "ContentPage".
Now when I load the Plugin in the host program, I get the ContentPage object:
ContentPage pluginContentPage = plugin.GetPluginUI();
How to display "pluginContentPage" for testing?