RadRibbonView Templating

3 posts, 0 answers
  1. Voltz
    Voltz avatar
    17 posts
    Member since:
    Aug 2011

    Posted 20 Apr 2012 Link to this post

    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

    any ideas? TIA

    === edit...

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

  2. Rene
    Rene avatar
    1 posts
    Member since:
    Apr 2012

    Posted 03 May 2012 Link to this post

    That makes two of us trying to do the same thing...
  3. DevCraft R3 2016 release webinar banner
  4. Petar Mladenov
    Petar Mladenov avatar
    2882 posts

    Posted 08 May 2012 Link to this post

    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 >>

Back to Top