auriga

auriga

  • NA
  • 4
  • 20.7k

How to Get specific data from ObservableCollection item

Jul 22 2015 7:42 AM
public ObservableCollection<EnumData> EnumDatas { get; set; }
  public ObservableCollection<EnumData> MaratialStatus{ get; set; }
 
 public ctor()
{
EnumDatas = unitOfWork.EnumDataRepository.All().ToObservableCollection();
 // how i get  specific data......
MaratialStatus = EnumDatas.Select(s => s.type == 1).;

Answers (2)