Select Renderer for control

alekssmykalekssmyk USMember ✭✭✭
edited July 2015 in Xamarin.Forms

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?

Tagged:

Best Answer

Answers

Sign In or Register to comment.