3 Answers, 1 is accepted
Hello Diego,
Thank you for your interest in our RadTaskBoard control for WPF.
You could set the GroupMemberPath property of the RadTaskBoard to a property of enum type. You can create a custom class that derives from TaskBoardCardModel and expose enum property inside. Then you can set it to the GroupMemberPath property. The tasks will be placed in the respected columns by this property value.
Regards,
Dinko
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products, quickly just got a fresh new look + new and improved content, including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Hi Dinko, thank for the answer.
Using GroupMemberPath allowed me to use the enum, but I would like to know if there is a way to create the columns manually in XAML based on the enum.
I needed that so I can give meaningful names to the columns, besides ordering them in a different way.
Thanks!
Hello Diego,
You could subscribe to the AutoGeneratingColumn event of the RadTaskBoard control. In the event handler, you can get the current generated column and modify its Header property per your needs.
private void tBoard_AutoGeneratingColumn(object sender, Telerik.Windows.Controls.TaskBoardAutoGeneratingColumnEventArgs e)
{
e.Column.Header =e.Column.GroupName +" Desc";
}
Regards,
Dinko
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.