This is a migrated thread and some comments may be shown as answers.

Tag with Icon

1 Answer 76 Views
TaskBoard
This is a migrated thread and some comments may be shown as answers.
Heiko
Top achievements
Rank 1
Iron
Veteran
Heiko asked on 06 Mar 2020, 08:43 AM

So I have the honor to write the first post on this board. :-)

I like the new TaskBoard component. What I would like to do is show the tags together with an icon and I can't find a solution for that. Also I can't find a way to define the colour of the tags. Is there a template that I can modify? Any hint would be nice!

Regards
Heiko

1 Answer, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 10 Mar 2020, 02:49 PM

Hi Heiko,

Thank you for your interest in our RadTaskBoard control.

I think the TaskBoard -> First Look demo in our Telerik UI for WPF Controls Demo application is what you are looking for. In a few words, you can use the ItemTemplate property of the RadTaskBoard. Inside the custom DataTemplate, you can place a RadTaskBoardCard element. This UI element represents the task itself. It exposes a TagTemplate property that you need to create a custom task. Every tag is represented by a custom class, TagModel. You can observe how a custom color is applied to the tag.

Give this example a try and let me know if further questions arise.

Regards,
Dinko
Progress Telerik

Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
TaskBoard
Asked by
Heiko
Top achievements
Rank 1
Iron
Veteran
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or