I am new in RibbonView. I want to build RibbonView and bind its tab, groups and buttons through ViewModel as I'm using MVVM.
I looked at the sample code provided by you guys. I need to extend it for:
1) Binding support for DropdownContent of RadRibbonSplitButton with items coming from ViewModel
2) Style the buttons so that i can have image aligned at top and its text at bottom i.e. in 2 rows
Thank you for your help.
12 Answers, 1 is accepted
Could you please point us to the exact example that you use so that we could help you better? Thank you in advance.
Kind regards,Petar Mladenov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
I also looked at http://demos.telerik.com/silverlight/#RibbonView/MVVM example code.
I'm looking for adding content to split button in one of my tab groups via view model.
Thanks
Now I need to understand the navigation model used for ribbonview. Do you have any examples for it?
Also, in your online demos of ribbonview, you have "Options" as a backstage menu item. I need to display a child window on click of it so that user can enter his preferences there.
Thank you for your help
You can use the Command property of the BackStageItem if you implement a MVVM approach. If not, you can set IsSelectable = false and the wire for the Click event of the BackStageItem. Please let us know if you need further assistance on this.
Kind regards,Petar Mladenov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
I need this because I don't want to use Commands.
Thankyou for your help.
Thanks
I am not sure I understood what exactly the "NavigateTo" button means. Why not using the Click method of BackStageItem since you don't want to use Commands ?
Best wishes,Petar Mladenov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Thank you for your help
You can inherit the RadRibbonView and RadRibbonBackStageItem and introduce a new attached property to of type Uri and then override the OnClick method but that seems too much work instead of just using the Click event handler in code behind.
Kind regards,Petar Mladenov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
I am using MVVM approach for buidling RadRibbonView as showcased in your demo example.
I want to understand where can I define Command for my buttons?
Thank you for your help
Thank you for your help
I prepared a project for you that demonstrates how to bind the Command property of the RadRibbonBackStageitem via ContainerBindings. Note that you have to set the IsSelectable property to false (via Style for all items, or ContainerBindigs in order to make only custom items non selectable). Please examine the solution and let us know if it satisfies you.
Greetings,Petar Mladenov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>