I think its a liteview i need in this case.
This is what i want to achieve.
I want every item in the listview to have a image,Header,text
The binding needs to be in the code to.
I have found this on a website.
var listView = new ListView ();
listView.ItemsSource = produkter ;
listView.ItemTemplate = new DataTemplate();
But cant figure out the rest.
List produkter = new List();
produkter = productlist();
public List productlist()
{
public String Header {get;set;}
public String text {get;set;}
public String image {get;set;}
}
Thanks alot if you can help with this.