diff --git a/wpf/Kanban-Board/Cards.md b/wpf/Kanban-Board/Cards.md index 8e8487a91..96369f97c 100644 --- a/wpf/Kanban-Board/Cards.md +++ b/wpf/Kanban-Board/Cards.md @@ -331,6 +331,12 @@ The following code example shows the usage of DataTemplate. +{% endhighlight %} +{% highlight C# hl_lines="1" %} + +this.kanban.IsToolTipEnabled = true; +this.kanban.ItemsSource = (this.DataContext as KanbanViewModel)?.Tasks; + {% endhighlight %} {% highlight C# tabtitle="ViewModel.cs" %}