You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The card appearance customization can be achieved by using the [CardTemplate](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Kanban.SfKanban.html#Syncfusion_UI_Xaml_Kanban_SfKanban_CardTemplate) and [CardTemplateSelector](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Kanban.SfKanban.html#Syncfusion_UI_Xaml_Kanban_SfKanban_CardTemplateSelector) properties in the [SfKanban](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Kanban.SfKanban.html).
@@ -201,10 +203,10 @@ The following code snippet demonstrates, how to use the [CardTemplate](https://h
### Customize card appearance using DataTemplateSelector
340
345
341
346
You can customize the card appearance by using the [CardTemplateSelector](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Kanban.SfKanban.html#Syncfusion_UI_Xaml_Kanban_SfKanban_CardTemplateSelector) property in the [SfKanban](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Kanban.SfKanban.html). The `DataTemplateSelector` can choose a `DataTemplate` at runtime based on the value of a data-bound to kanban card appearance by using the [CardTemplateSelector](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Kanban.SfKanban.html#Syncfusion_UI_Xaml_Kanban_SfKanban_CardTemplateSelector). It allows you to choose a different data template for each card, as well as to customize the appearance of a particular card based on certain conditions.
@@ -349,18 +354,18 @@ You can customize the card appearance by using the [CardTemplateSelector](https:
taskDetail.Description = "Crosshair label template not visible in UWP";
445
+
taskDetail.Description = "In minimized state, first and last segments have incorrect spacing";
441
446
taskDetail.Category = "Open";
442
447
taskDetail.IndicatorColorKey = "High";
443
448
taskDetail.Tags = new List<string>() { "Bug Fixing" };
@@ -463,9 +468,9 @@ public class ViewModel
463
468
taskDetails.Add(taskDetail);
464
469
465
470
taskDetail = new KanbanModel();
466
-
taskDetail.Title = "Kanban Feature";
471
+
taskDetail.Title = "WPF Issue";
467
472
taskDetail.Id = "25678";
468
-
taskDetail.Description = "Provide drag and drop support";
473
+
taskDetail.Description = "Minimum and maximum properties are not working in dynamic update";
469
474
taskDetail.Category = "In Progress";
470
475
taskDetail.IndicatorColorKey = "Low";
471
476
taskDetail.Tags = new List<string>() { "New control" };
@@ -476,32 +481,33 @@ public class ViewModel
476
481
477
482
taskDetails.Add(taskDetail);
478
483
479
-
taskDetail = new KanbanModel();
480
-
taskDetail.Title = "New Feature";
481
-
taskDetail.Id = "29574";
482
-
taskDetail.Description = "Dragging events support for Kanban";
483
-
taskDetail.Category = "Closed";
484
-
taskDetail.IndicatorColorKey = "Normal";
485
-
taskDetail.Tags = new List<string>() { "New Control" };
486
-
taskDetail.Image = new Image
487
-
{
488
-
Source = new BitmapImage(new Uri(path + "Assets/Kanban/People_Circle4.png"))
489
-
};
490
-
491
-
taskDetails.Add(taskDetail);
492
484
493
485
taskDetail = new KanbanModel();
494
486
taskDetail.Title = "WF Issue";
495
487
taskDetail.Id = "1254";
496
488
taskDetail.Description = "HorizontalAlignment for tooltip is not working";
497
-
taskDetail.Category = "Review";
489
+
taskDetail.Category = "In Progress";
498
490
taskDetail.IndicatorColorKey = "High";
499
491
taskDetail.Tags = new List<string>() { "Bug fixing" };
500
492
taskDetail.Image = new Image
501
493
{
502
494
Source = new BitmapImage(new Uri(path + "Assets/Kanban/People_Circle5.png"))
503
495
};
504
496
497
+
taskDetails.Add(taskDetail);
498
+
499
+
taskDetail = new KanbanModel();
500
+
taskDetail.Title = "New Feature";
501
+
taskDetail.Id = "29574";
502
+
taskDetail.Description = "Need to implement tooltip support for Kanban";
503
+
taskDetail.Category = "Closed";
504
+
taskDetail.IndicatorColorKey = "Normal";
505
+
taskDetail.Tags = new List<string>() { "New Control" };
506
+
taskDetail.Image = new Image
507
+
{
508
+
Source = new BitmapImage(new Uri(path + "Assets/Kanban/People_Circle4.png"))
509
+
};
510
+
505
511
taskDetails.Add(taskDetail);
506
512
return taskDetails;
507
513
}
@@ -512,6 +518,6 @@ public class ViewModel
512
518
{% endhighlight %}
513
519
{% endtabs %}
514
520
515
-
N> The `DataContext` for both the [CardTemplate](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Kanban.SfKanban.html#Syncfusion_UI_Xaml_Kanban_SfKanban_CardTemplate) and [CardTemplateSelector](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Kanban.SfKanban.html#Syncfusion_UI_Xaml_Kanban_SfKanban_CardTemplateSelector) properties in the [SfKanban](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Kanban.SfKanban.html) is set to [KanbanModel](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Kanban.KanbanModel.html).
N> The `DataContext` for both the [CardTemplate](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Kanban.SfKanban.html#Syncfusion_UI_Xaml_Kanban_SfKanban_CardTemplate) and [CardTemplateSelector](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Kanban.SfKanban.html#Syncfusion_UI_Xaml_Kanban_SfKanban_CardTemplateSelector) properties in the [SfKanban](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Kanban.SfKanban.html) is set to [KanbanModel](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Kanban.KanbanModel.html).
0 commit comments