Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
144925 | May 29,2019 05:49 AM UTC | May 30,2019 02:13 PM UTC | Xamarin.Forms | 1 |
![]() |
Tags: SfDataForm |
[C#]
private IList GetItemSource(string sourceName)
{
List<Address> details = new List<Address>();
if (sourceName == "City")
{
details.Add(new Address() { City = "Chennai", PostalCode = 1 });
details.Add(new Address() { City = "Paris", PostalCode = 2 });
details.Add(new Address() { City = "Vatican", PostalCode = 3 });
}
return details;
}
public class ContactsInfo
{
public string City { get; set; } = "1";
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.