From 0bdb9b5bbb0d5e989871fef625b158f155ff3cce Mon Sep 17 00:00:00 2001 From: Vishal Omprasad Date: Tue, 2 Sep 2025 15:08:08 +0530 Subject: [PATCH] 977013 - Kanban getting started review corrections addressed --- MAUI/Kanban-Board/Getting-Started.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/MAUI/Kanban-Board/Getting-Started.md b/MAUI/Kanban-Board/Getting-Started.md index a181f634a..32d010a45 100644 --- a/MAUI/Kanban-Board/Getting-Started.md +++ b/MAUI/Kanban-Board/Getting-Started.md @@ -349,7 +349,7 @@ The following sample code demonstrates this process in action: - + Cards { get; set; } - public KanbanViewModel() + public ViewModel() { this.Cards = new ObservableCollection(); this.Cards.Add(new KanbanModel() @@ -498,7 +498,7 @@ Let’s look at the practical code example: < - + @@ -527,7 +527,7 @@ Let’s look at the practical code example: {% highlight C# hl_lines="3" %} SfKanban kanban = new SfKanban(); -KanbanViewModel viewModel = new KanbanViewModel(); +ViewModel viewModel = new ViewModel(); kanban.ColumnMappingPath = "Status"; kanban.CardTemplate = new DataTemplate(() => { @@ -584,12 +584,13 @@ public class TaskDetails } {% endhighlight %} -{% highlight C# tabtitle="KanbanViewModel.cs" %} +{% highlight C# tabtitle="ViewModel.cs" %} -public class KanbanViewModel +public class ViewModel { public ObservableCollection TaskDetails { get; set; } - public KanbanViewModel() + + public ViewModel() { this.TaskDetails = this.GetTaskDetails(); }