I have a Observable collection which is bind to listview which contains date and time. When a time in the collection occurs a messagebox should be shown.
I do as
public class Reminder
{
public string Name { get; set; }
public string Date { get; set; }
public string Time { get; set; }
}
ObservableCollection<Reminder> reminderList = new ObservableCollection<Reminder>();
Reminder newItem = new Reminder
{
Name = name,
Date = date,
Time = time
};
reminderList.Add( newItem );
How can I show a message when a time in collection occurs?