Is it possible to create a Xamarin.Forms PageRenderer for a Windows WinRT app page? I've looked for documentation or samples but haven't found any yet.
This is the approach I've started with;
[assembly: ExportRenderer(typeof(MantisBLE.Pages.MainPage), typeof(MainRenderer))]
namespace MantisBLE.WinTablet.Renderers
{
public class MainRenderer : PageRenderer
{
protected override void OnElementChanged(VisualElementChangedEventArgs e)
{
base.OnElementChanged(e);
MainPage page = new MainPage();
//Ideally, here I'll set page as the default/root element
}
}
}
Is there anyone with experience or even ideas on how to achieve this?