Forum Xamarin.Forms

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Create custom XAML objects?

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,

Best Answer

Answers

  • BertBijnensBertBijnens BEMember

    Thanks, it was right in front of me, but i still missed it xd

Sign In or Register to comment.