I need to add values to the dropdown list of Duration so that they are 10 seconds, 20 seconds, 45 seconds, etc. So I am able to add them okay to the list:
var durationPicker = sender as DurationPicker;
durationPicker.Items.Add("5 seconds");
durationPicker.Items.Add("10 seconds");
durationPicker.Items.Add("0.5 minutes");
durationPicker.Items.Add("2 minutes");
durationPicker.Items.Add("7 minutes");
However, picking any seconds doesn't update the End Time like if I picked 2 minutes. It seems to ignore anything that is seconds. Could you show me how to make seconds increments work on the Duration so it effects the End Date? We often schedule items every 60 seconds. Or 30.