Hi,
I need to do some customisation in a GanttControl. So I create the DataTemplate
1) I get an reference error for Start & EndTime property
Cannot reference the static member 'ActualEndTimeProperty' on the type 'GanttControl' as it is not accessible
Cannot reference the static member 'ActualStartTimeProperty' on the type 'GanttControl' as it is not accessible
OK. I removed this 2 references.
But I get anyway following error: Object reference not set to an instance of an object. [...]MainWindow.xaml
My XAML Code
<sync:GanttControl x:Name="Gantt"
StartTime="9/10/2017"
EndTime="9/16/2017"
Grid.Row="1"
VisualStyle="Blend"
Template="{DynamicResource GanttControlControlTemplate1}"
>
</sync:GanttControl>
My Template
<ControlTemplate x:Key="GanttControlControlTemplate1"
TargetType="{x:Type syncfusion:GanttControl}">
....
/>
What did I wrong?
Regards,
Louis