Hello,
I'm sometimes running into an NullReferenceException when trying to bring a task into view and "zoom" the gantt to it. Our application has multiple tabs and i'm trying to bring the tab with the ganttcontrol into view.
I debugged and found in the Method TimeSpanHeader.TimeSpanHeader_Loaded() the line
TimeScaleHeaderDefinition def = this.DataContext as TimeScaleHeaderDefinition;
In this specific case the DataContext is of the type "{DisconntectedItem}" and not of type "TimeScaleHeaderDefinition".
A fix that works for me is to check for !=null before executing further code.
I hope you can include this fix into the library

Regards,
Jan