New to Telerik UI for WPF? Download free 30-day trial

Styles and Templates

RadTaskBoard allows you to easily modify its appearance by providing some useful properties.

ItemTemplate and ItemTemplateSelector

You can configure the visualization of the data and the appearance of the card items via the ItemTemplate and the ItemTemplateSelectior properties.

Example 1: Define a custom ItemTemplate

                <TextBlock Text={Binding State}/>  
                <TextBlock Text={Binding Assignee}/>  
                <TextBlock Text={Binding Header}/>  
                <TextBlock Text={Binding Description}/>  
If you wish to return different templates for the card items, you can use the ItemTemplateSelectior property and pass a custom DataTemplateSelector to it.


To further customize the headers of all columns, you can create your own DataTemplate and apply it to the ColumnHeaderTemplate property of the RadTaskBoard.

Example 5: Set ColumnHeaderTemplate

   <telerik:RadTaskBoard x:Name="taskBoard" GroupMemberPath="State" ItemsSource="{Binding Data}"> 
                <TextBlock Text="{Binding }" FontSize="25" Foreground="Red"/> 

ItemContainerStyle and ItemContainerStyleSelectior

The task inside the RadTaskBoard control are represented by a RadTaskBoardItem elements. You can use the ItemContainerStyle property to style these individual elements.

Example 2: Specify ItemContainerStyle

        <Style TargetType="telerik:RadTaskBoardItem"> 
            <Setter Property="Background" Value="Bisque"/> 
            <Setter Property="FontWeight" Value="Bold" /> 
            <Setter Property="FontSize" Value="50" /> 
If you wish to return different styles for the card items, you can use the ItemContainerStyleSelectior property and pass a custom StyleSelector to it.

See Also

In this article