public ActionPlannerPageModel() { ActionPlanner.SubscribeUpDateEvent(this); if (ViewModelBase.IsInDesignModeStatic) { ActionPlanner.Add(DayOfWeek.Monday, TimeSpan.FromHours(5)); ActionPlanner.Add(DayOfWeek.Thursday, TimeSpan.FromHours(15)); } Set(nameof(Tasks), ref tasks, ActionPlanner.GetPlanner()); ActionPlanner.Start(); }