Leonard
public class districts : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
#region Public Constructors
/// <summary>
/// Treeview class data definition
/// </summary>
/// <param name="districtId"></param>
/// <param name="parentDistrictId"></param>
/// <param name="description"></param>
/// <param name="childrenDistricts"></param>
public districts(string districtId, string parentDistrictId, string description, List<districts> childrenDistricts)
{
this.DistrictId = districtId;
this.ParentDistrictId = parentDistrictId;
this.Description = description;
this.ChildrenDistricts = childrenDistricts;
}
#endregion Public Constructors
#region Public Properties
public List<districts> ChildrenDistricts { get; set; }
public string Description { get; set; }
public string DistrictId { get; set; }
public string ParentDistrictId { get; set; }
public bool Checked { get; set; }
#endregion Public Properties
}