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

Which renderer could I use to load a custom XIB for a custom block?

$
0
0

I'm trying to create a custom block of content, the way I'm going about it (which is hopefully correct) is similar to WebComponents concept in JavaScript - I've created an element in my xaml, which I assigned a renderer to.

I have subclassed FrameRenderer for my custom renderer, and basically I want to when the class is instantiated, load the nib into the frame and set it as the frame content.

Is this the correct way to go about doing such a thing, and is FrameRenderer and the constructor the correct place to load the view?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>