Binding to CollectionViewSource
RadTaskBoard accepts CollectionViewSource as data source and it will evaluate its GroupDescriptions and generate corresponding columns based on that.
The following tutorial will guide you how to bind a RadTaskBoard to a CollectionViewSource of TaskBoardCardModel.
First, we will initialize a CollectionViewSource, which is going to be used to populate the RadTaskBoard control. Next, we can create our data and set PropertyGroupDescription to the State property. This property will be used to group the CollectionViewSource.
Example 1: Creating ViewModel
You don't need to set the GroupMemberPath property of the RadTaskBoard when the control's ItemsSource is bound to a CollectionViewSource collection. The first PropertyGroupDescription will be used by the RadTaskBoard to group the items.
Example 3: Set the ViewModel as DataContext
The CategoryCollection and CategoryModel class can be accessed in XAML through the following namespace:
xmlns:taskBoard="clr-namespace:Telerik.Windows.Controls.TaskBoard;assembly=Telerik.Windows.Controls"