Example #1
0
        private static void OnIsMilestoneChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            GanttChartItem item = d as GanttChartItem;

            if (item != null)
            {
                item.OnPropertyChanged("IsMilestone");
                item.UpdateComputedTaskTemplate();
                item.OnTimingChanged();
                item.UpdateDependencyLines();
                item.UpdateIsCompleted();
            }
        }
Example #2
0
        private static void OnFinishChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            GanttChartItem item = d as GanttChartItem;

            if (item != null)
            {
                item.OnPropertyChanged("Finish");
                item.CoerceFinish();
                item.OnTimingChanged();
                item.UpdateDependencyLines();
                item.UpdateIsCompleted();
            }
        }