Backstage dosen't display when theming RadRibbonView via windows resources

2 posts, 0 answers
  1. Michael
    Michael avatar
    1 posts
    Member since:
    Nov 2016

    Posted 10 Nov 2016 Link to this post



    When I apply the RibbonView XAML as a windows level resource ribbon view backstage does not show. It only works if I move the resources to an application resource.

    I need window level theming for my application is this supported with Telerik WPF ribbon control or am I doing something wrong ?


    Below is the XAML:-

    <telerik:RadRibbonWindow x:Class="WpfApplication1.MainWindow"
            Title="MainWindow" Height="350" Width="525">
                    <ResourceDictionary Source="/Telerik.Windows.Themes.VisualStudio2013;component/Themes/System.Windows.xaml" />
                    <ResourceDictionary Source="/Telerik.Windows.Themes.VisualStudio2013;component/Themes/Telerik.Windows.Controls.xaml" />
                    <ResourceDictionary Source="/Telerik.Windows.Themes.VisualStudio2013;component/Themes/Telerik.Windows.Controls.Input.xaml" />
                    <ResourceDictionary Source="/Telerik.Windows.Themes.VisualStudio2013;component/Themes/Telerik.Windows.Controls.Docking.xaml" />
                    <ResourceDictionary Source="/Telerik.Windows.Themes.VisualStudio2013;component/Themes/Telerik.Windows.Controls.RibbonView.xaml" />
            <telerik:RadRibbonView Grid.Row="0" x:Name="Ribbon" ApplicationName="Theme test" ApplicationButtonContent="System" >
                    <telerik:RadRibbonBackstage x:Name="Backstage"  >
                        <telerik:RadRibbonBackstageItem Header="Overview" IsSelectable="true" IsSelected="True" />
                        <telerik:RadRibbonBackstageItem Header="System Configuration" IsSelectable="false" />
                        <telerik:RadRibbonBackstageItem Header="Setup Display" IsSelectable="false" />


  2. Evgenia
    Evgenia avatar
    1437 posts

    Posted 15 Nov 2016 Link to this post

    Hello Michael,

    By saying that RadRibbonView's Backstage doesn't appear I'm assuming that you are talking about runtime visualization and not design-time. RadRibbonBackstage is hosted inside an Adorner which have some limitations. For instance when you try to apply an Implicit style to an element located in an Adorner, if you define the style inside the Window.Resources the Adorner can not access the style and it will not be applied. That's the reason why to have a working implicit style to an element of the Adorner you will need to use the App.xaml or so called global resources.

    Telerik by Progress
    Do you need help with upgrading your WPF project? Try the Telerik API Analyzer and share your thoughts!
Back to Top