|
[XAML]
<!--Color mapped to priority-->
<kanban:SfKanban.IndicatorColorPalette>
<kanban:ColorMapping Color="#FFECB93C" Key="Urgent"></kanban:ColorMapping>
<kanban:ColorMapping Color="LightGray" Key="Default"></kanban:ColorMapping>
</kanban:SfKanban.IndicatorColorPalette>
|
|
[C#]
//Record in the ItemsSource collection.
KanbanModel task = new KanbanModel();
//Color key in the Kanban Model is used to set the priority for the task.
task.ColorKey = "Urgent";
|