3 Answers, 1 is accepted
0
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.
Regards,
Martin Ivanov
Telerik by Progress
To achieve your requirement you can create a new UserControl and change its parent class from UserControl to RadRibbonBackstage. For example:
<
telerik:RadRibbonBackstage
x:Class
=
"WpfApplication4.RibbonBackstageUserControl"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable
=
"d"
d:DesignHeight
=
"300"
d:DesignWidth
=
"300"
>
<
telerik:RadRibbonBackstageItem
Header
=
"Item 1"
/>
<
telerik:RadRibbonBackstageItem
Header
=
"Item 2"
/>
<
telerik:RadRibbonBackstageItem
Header
=
"Item 3"
/>
<
telerik:RadRibbonBackstageItem
Header
=
"Item 4"
/>
</
telerik:RadRibbonBackstage
>
<
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.
0
Jaroslav
Top achievements
Rank 1
answered on 22 Jun 2018, 10:05 AM
Hello, is there any possibility to close backstage from this user control?
0
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
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.