private void SyncScrollViewers() { ContentTree.ApplyTemplate(); TheGantt.ApplyTemplate(); ScrollViewer treeSV = WpfUtility.FindVisualChild <ScrollViewer>(ContentTree); ScrollViewer timelineSV = WpfUtility.FindVisualChild <ScrollViewer>(TheGantt); if (treeSV != null && timelineSV != null) { syncher = new ScrollViewerSyncer(treeSV, timelineSV); } }