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

RadRibbonView Templating

2 Answers 98 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Voltz
Top achievements
Rank 1
Voltz asked on 20 Apr 2012, 10:47 AM
We are trying to develop a PRISM application using RibbonView and intend to have it populated dynamically.

I have found a similar thread in the WPF Section: http://www.telerik.com/community/forums/wpf/ribbonview/dynamically-adding-ribbontabs-in-prism.aspx. However, each PRISM module populates each RibbonTab.

Our intention is to have other modules contain information only of a particular button, combobox, etc. and it should indicate what Ribbon group, and what Ribbon tab to themselves themselves into within the RibbonView.

I'm searching for ways to get a ContentTemplate for the RibbonView in the same manner as this sample gave but it is not working
http://www.telerik.com/help/silverlight/radtabcontrol-item-templates-and-selectors.html

any ideas? TIA

=== edit...

solved this by following the3 silverlight sample from the demos... surprised that radribbonview uses a hierarchicaldatatemplate.

thanks

2 Answers, 1 is accepted

Sort by
0
Rene
Top achievements
Rank 1
answered on 03 May 2012, 12:29 PM
That makes two of us trying to do the same thing...
0
Petar Mladenov
Telerik team
answered on 08 May 2012, 07:23 AM
Hello Voltz and Rene,

 The RadRibbonView does not provide a ContentTemplate. It has an ItemTemplate which applies as HeaderTemplate for the RadRibbonTabs. The ItemTemplate of the Tabs applies as HeaderTemplate for the RibbonGroups and the ItemTemplate of the RibbonGroups applies as ContentTemplate for the Buttons in the groups.
You may also find these threads useful:
Prism Region with Ribbon Backstage
Prism Adaptor for RadContectMenu
Dynamically adding Ribbhontabs in Prism (WPF)

All the best,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
RibbonView and RibbonWindow
Asked by
Voltz
Top achievements
Rank 1
Answers by
Rene
Top achievements
Rank 1
Petar Mladenov
Telerik team
Share this question
or