publicclassViewModel : INotifyPropertyChanged
{
private TimeSpan? selectedTime;
publicViewModel()
{
this.SelectedTime = new TimeSpan(1, 2, 3, 4);
}
public TimeSpan? SelectedTime
{
get { returnthis.selectedTime; }
set
{
if (this.selectedTime != value)
this.selectedTime = value;
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("SelectedTime"));
}
}
}
Regards,
Didi
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.