I have a listbox in my xaml.I am adding items to this listbox using List
public void setList()
{
for (int i = 0; i < partList.Count; i++)
{
var partListItem = partList[i].getLine().getItem();
PartListPhoneControl userPhoneControl= new PartListPhoneControl();
if (partListItem.getDescription() != null)
userPhoneControl.partDescription.Text = partListItem.getDescription();
}
}
Now if I am doing any changes in this list I want it to refresh the list box.How can I use INotifyChanged in this case?

Paras Kharbanda46 reputationPosted Jan 6, 2015, 4:01 AM EST
Instead of using list i'll prefer to use observable collection in we can easily use inotifyproperty
because it is dynamic where as list is static.
Sweta Sinha53 reputationPosted Jan 6, 2015, 6:58 PM EST