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

Create custom XAML objects?

$
0
0

Hi,

I'm working on an application (my first Xamarin application) that shows data based on a json string from a REST API.
I would like this data to be displayed in white squares similar to a cardview.

I created this design already in Xaml, but I don't know how i can add more of those objects through code.
What i would like to see is to put the design of 1 card in a seperated file. so that i can add them to my homepage arround something like this:
This.children.add(new CardBox("title", "content"));
Is something like this possible in Xamarin.Forms?

Thanks,


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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