Skip to content

Commit 6f50321

Browse files
MAUI Kanban UG - Added relevant tags for code snippets
1 parent 3c0687a commit 6f50321

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

MAUI/Kanban-Board/Getting-Started.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ Bind the above data to [`SfKanban`](https://help.syncfusion.com/cr/maui/Syncfusi
764764

765765
N> If a custom model collection is used as the ItemsSource for the Kanban control, you must specify the [`ColumnMappingPath`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Kanban.SfKanban.html#Syncfusion_Maui_Kanban_SfKanban_ColumnMappingPath) property to dynamically generate columns based on a specific field in the model. Additionally, define a [`CardTemplate`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Kanban.SfKanban.html#Syncfusion_Maui_Kanban_SfKanban_CardTemplate) that binds to the properties of your custom model.
766766

767+
{% tabs %}
768+
767769
{% highlight xaml %}
768770

769771
<kanban:SfKanban ItemsSource="{Binding TaskDetails}"
@@ -858,10 +860,14 @@ kanban.CardTemplate = new DataTemplate(() =>
858860

859861
{% endhighlight %}
860862

863+
{% endtabs %}
864+
861865
### Defining columns in the Kanban Board
862866

863867
Follow the same approach specified under [Default Model](https://help.syncfusion.com/maui/kanban-board/getting-started#defining-columns-in-the-kanban-board).
864868

869+
{% tabs %}
870+
865871
{% highlight xaml %}
866872

867873
<kanban:SfKanban x:Name="kanban"
@@ -909,6 +915,8 @@ doneColumn.Categories = new List<object>() { "Done", "Closed", "Closed No Change
909915

910916
{% endhighlight %}
911917

918+
{% endtabs %}
919+
912920
## Running the Application
913921
Press **F5** to build and run the application. Once compiled, the Kanban board will display with the data provided.
914922

0 commit comments

Comments
 (0)