Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
Populate comboxbox with list in class

I have this class

public class AvisTIlGrid

public decimal avis_tillæg { get; set; }
public decimal andet_tillæg {get; set;}
public string webtillæg_type { get; set; }
public decimal oldTotalPris { get; set; }
public double? sum_bladtilæg { get; internal set; }
public List<webtilLæg> webtillages { get; set; }

public decimal? calTotalPris()
return this.Farve4Max + Farve4Min + Farve4Pris + FarveMax + FarveMin + FarvePris;

public class webtilLæg
public string type { get; set; }
public int wbId { get; set; }
public double? wpPris { get; set; }

and I want to bind the List<webtilLæg> webtillages  to a combobox in the  xamdatagrid

I have tried like this

 <igWPF:ComboBoxField Name="Webtillages" ItemsSource="{Binding Path=Webtillages }" DisplayMemberPath="{Binding Path=type}"></igWPF:ComboBoxField>