Skip to content

Commit c841b8e

Browse files
Update data-binding.md
1 parent 27ee03c commit c841b8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wpf/Gantt/data-binding.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ taskAttributeMapping.PredecessorMapping = "Predecessor";
191191
taskAttributeMapping.ResourceInfoMapping = "Resource";
192192
this.ganttControl.TaskAttributeMapping = taskAttributeMapping;
193193

194-
this.ganttControl.ItemsSource = new ViewModel().TaskDetails;
194+
this.ganttControl.ItemsSource = new ViewModel().TaskCollection;
195195

196196
{% endhighlight %}
197197
{% endtabs %}

0 commit comments

Comments
 (0)