Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > RibbonBar > How to add ribbon items in design mode based on base ribbon control?

Not answered How to add ribbon items in design mode based on base ribbon control?

Feed from this thread
  • Bing avatar

    Posted on Jan 23, 2012 (permalink)

    Hi guys,

    I want to create a base ribbon control that includes basic items for all the views. All the views will inherit this control, also I want to add new ribbon items in design mode in the view. How can I do this?

    Any help would be greatly appreciated.

    Bing

    Reply

  • Petar Mladenov Petar Mladenov admin's avatar

    Posted on Jan 26, 2012 (permalink)

    Hi Bing ,

    We highly suggest you to use RadRibbonView instead of RadRibbonBar,please examine this blog post describing how their differences. 
    We are not actually sure what is your scenario, what do you mean by "basic items for all the views"? Could you please elaborate more on your case, this way we would be better able to assist you? As a final note, you are able to build a RadRibbonTabs, RadRibbonGroups and RadRibbonButtons in design time with our SmartTabs, they automatically appear in the designer.

    All the best,
    Petar Mladenov
    the Telerik team

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

    Reply

  • Bing avatar

    Posted on Jan 26, 2012 (permalink)

    thank you for the reply.

    I want to create a base user control that has a tab (for example like Home) and a group in the tab, some buttons in the group.
    Then I want to create a view (user control) which inherit this base control. when I load this view, I can get Home tab there.
    I can add another tab programmly. My question is how can I add another tab in xaml file.
    Thanks

    Reply

  • Petar Mladenov Petar Mladenov admin's avatar

    Posted on Jan 31, 2012 (permalink)

    Hello Bing,

     Have you considered using Prism Framework that allows you to load Views in your controls? You can check the project in this forum thread and let us know if it helps you get started.
    However, if you have a class MyCustomTab that inherits from  RadRibbonTab, you are able to add Groups for example like so:

    <local:MyCustomTab Header="MyTab">
         <telerik:RAdRibbonGroup Header="Grooup 1" />
    </local:MyCustomTab

    Regards,
    Petar Mladenov
    the Telerik team

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

    Reply

  • Bing avatar

    Posted on Jan 31, 2012 (permalink)

    Thank you very much!

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > RibbonBar > How to add ribbon items in design mode based on base ribbon control?