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

How to add custom view to xaml

$
0
0

I created a custom view renderer. This custom view is placed in a layout in C#, the code behind. I am creating an instance of my custom view class in C# and then adding it to the layout like you would a button or label. It works fine.

I am now attempting to move the creation of the layout to xaml. However, I'm not having any luck with this. How can I take that created instance of my custom renderer class and put it in xaml?


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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