In an application we have multiple RadRibbonView, I want to know if it's possible to create the Backstage control as UserControl and attach it to any of our RadRibbonView.
Thanks
3 Answers, 1 is accepted
0
Martin Ivanov
Telerik team
answered on 22 May 2017, 10:04 AM
Hello Mario,
To achieve your requirement you can create a new UserControl and change its parent class from UserControl to RadRibbonBackstage. For example:
Then you can use it in the different ribbon views.
<telerik:RadRibbonView.Backstage>
<local:RibbonBackstageUserControl />
</telerik:RadRibbonView.Backstage>
Regards,
Martin Ivanov
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Hello, is there any possibility to close backstage from this user control?
0
Martin Ivanov
Telerik team
answered on 22 Jun 2018, 10:28 AM
Hello Jaroslav,
You can expose a property of type RadRibbonView in the UserControl and set it to the parent RadRibbonView. Then you can set the IsBackstageOpen property of the ribbon to False, when you want to close it.
Regards,
Martin Ivanov
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.