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

Select Renderer for control

$
0
0

Hi!
I would like to use different renderers related to one control.
I am using such code:
[assembly: ExportRenderer(typeof(ControlMono), typeof(ControlRenderer1))]
and I hope I can write something like this:
[assembly: ExportRenderer(typeof(ControlMono), typeof(ControlRenderer2))]
Is it possible in Xamarin? And if it is, how could I use my ControlMono to switch between renderers in different pages?


Viewing all articles
Browse latest Browse all 91519

Trending Articles



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