Esempio n. 1
0
 private void UpdateDependencies()
 {
     if (DependencyPresenter != null)
     {
         DependencyPresenter.Invalidate();
     }
 }
Esempio n. 2
0
        public void InvalidateItemPositions()
        {
            Debug.WriteLine("GanttPanel.InvalidateItemPositions()");
            if (RowPresenter != null)
            {
                RowPresenter.Children.OfType <GanttRow>().ToList().ForEach(r =>
                {
                    //r.ItemsPresenter.InvalidateArrange();
                    r.ItemsPresenter.InvalidateMeasure();
                }
                                                                           );
            }

            if (ColumnPresenter != null)
            {
                ColumnPresenter.Invalidate();
            }

            if (DependencyPresenter != null)
            {
                DependencyPresenter.Invalidate();
            }
        }