Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Xamarin Forms Windows Phone 8.1 Custom Page Renderer

$
0
0

hi,

Is it possible to write custom page render for Windows Phone 8.1 ?

i was trying to write a Renderer.but i couldn't find anyway to connect My native page to Renderer.

in the samples provided , they are using Addchild().

But in 8.1, i couldn't find any thing like that.

Can somebody help me ?

[assembly: ExportRenderer(typeof(Xam.SecondPage), typeof(SecondPageRenderer))]
namespace XamWinPhone8._1
{
class SecondPageRenderer: PageRenderer
{
protected override void OnElementChanged(VisualElementChangedEventArgs e)
{
base.OnElementChanged(e);
// How to connect my native view to renderer
// No addchild() here
}
}
}


Viewing all articles
Browse latest Browse all 77050

Trending Articles