Skip to content

Commit 785b93f

Browse files
Merge pull request #3574 from syncfusion-content/Kanban-UG-Cards-content-dev
977013-[Dev] MAUI Kanban UG notes content added in Cards.md
2 parents d8c9667 + 805667a commit 785b93f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

MAUI/Kanban-Board/Cards.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ The default elements of a card can be customized using the below properties of [
1919
* [`Tags`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Kanban.KanbanModel.html#Syncfusion_Maui_Kanban_KanbanModel_Tags) - Used to specify the tags of a card. The tags will be displayed at bottom in default card template.
2020
* [`ID`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Kanban.KanbanModel.html#Syncfusion_Maui_Kanban_KanbanModel_ID) - Used to set the ID of a card.
2121

22-
N> The image URL can be set in two ways: using an assembly reference or a local assembly. Ensure that the image is stored in the `Resources/Images` folder for assembly references.
22+
N>
23+
* The image URL can be set in two ways: using an assembly reference or a local assembly. Ensure that the image is stored in the `Resources/Images` folder for assembly references.
24+
* When a custom data model is assigned to the [`ItemsSource`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Kanban.SfKanban.html#Syncfusion_Maui_Kanban_SfKanban_ItemsSource) property of the [`SfKanban`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Kanban.SfKanban.html) control, each card's `BindingContext` is set to an instance of that model. Therefore, bindings within the [`CardTemplate`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Kanban.SfKanban.html#Syncfusion_Maui_Kanban_SfKanban_CardTemplate) must directly reference the properties defined in the custom model.
25+
* The default card UI is not applicable when using a custom data model. To render the card content correctly, you must define a custom `DataTemplate` using the [`CardTemplate`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Kanban.SfKanban.html#Syncfusion_Maui_Kanban_SfKanban_CardTemplate) property.
2326

2427
{% highlight C# %}
2528

@@ -213,4 +216,6 @@ kanban.CardTemplate = new KanbanTemplateSelector();
213216

214217
{% endhighlight %}
215218

216-
{% endtabs %}
219+
{% endtabs %}
220+
221+
N> When using a custom data model, the default card UI is not applicable. To render the card content, you must define a custom `DataTemplate` using the [`CardTemplate`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Kanban.SfKanban.html#Syncfusion_Maui_Kanban_SfKanban_CardTemplate) property.

0 commit comments

Comments
 (0)