You can check out how this could be achieved in code behind in the attached solution. Please keep in mind that in WPF this is far away from elegant compared to a XAML solution.
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>