Hello Alexandre,
I am not sure if I fully grasp the requirements of your scenario. But you can use an MVVM approach and databind the
RadRibbonView control. Then add commands to control the actions of the
RadRibbonView buttons. Also bind the
RadTabControl ItemsSource and use the view model commands associated with the
RadRibbonButtons to add/remove items from the
RadTabControl ItemsSource collection.
I attached a very basic sample that illustrates how to databind the
RadRibbonView control and use buttons to add new
RadTabItems to a
RadTabControl. The project also demonstrates how to take advantage of the
RadTabControl ItemTemplateSelector and
ContentTemplateSelecot properties to visualize the different types of business items differently inside the
RadTabControl.
I hope it will help you get started on the implementation of your scenario.
Kind regards,
Tina Stancheva
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>