Articles in this section

How to customize the header of WPF Kanban board?

This article explains how to add the desired view in the WPF Kanban cards header as shown in the following image.


output with customized kanban header in WPF

 

It has been achieved by using the ColumnHeaderTemplate support. You can add the desired view into the template view as shown in the following code sample.

 

[XAML]

          <syncfusion:SfKanban ColumnMappingPath="Category" Background="LightPink" ItemsSource="{Binding Tasks}" >
            <syncfusion:SfKanban.ColumnHeaderTemplate>
                <DataTemplate>
                    <StackPanel Width="300" Height="80" Margin="10"  Background="LightPink" HorizontalAlignment="Center" VerticalAlignment="Center">
                        <Image Source="pin.png" Height="30" Width="30"/>
                        <TextBlock  Text="{Binding  Header}" FontSize="20" Foreground="Black"  FontWeight="Bold" HorizontalAlignment="Center"/>
                    </StackPanel>
                </DataTemplate>
            </syncfusion:SfKanban.ColumnHeaderTemplate>
            <syncfusion:KanbanColumn Categories="Open" Title="To Do" />
            <syncfusion:KanbanColumn Categories="In Progress" Title="Progress" />
            <syncfusion:KanbanColumn Categories="Review,Done" Title="Done" />
         </syncfusion:SfKanban>

 

Note:

ColumnHeaderTemplate of Kanban keeps ColumnTag as DataContext.

 

View the sample in GitHub

 

See also

How to add the card template to the WPF SfKanban cards

How to Placeholder in Xamarin SfKanban

How to customize the column in WPF SfKanban


 

Conclusion

I hope you enjoyed learning about how to customize the header of WPF Kanban board.

You can refer to our WPF Kanban feature tour page to know about its other groundbreaking feature representations and documentation, to understand how to create and manipulate data.

For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.

If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!
Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied