Binding error for IsWindowsThemeEnabled

2 posts, 0 answers
  1. Patrick
    Patrick avatar
    370 posts
    Member since:
    Aug 2012

    Posted 24 Feb Link to this post


    in the RibbonView_style.xaml source file, starting at line 5, there are the following trigger is defined:

            <Condition Binding="{Binding RelativeSource={RelativeSource AncestorType=telerikRibbonView:RadRibbonWindow}, Path=IsWindowsThemeEnabled}" Value="True" />
            <Condition Binding="{Binding RelativeSource={RelativeSource AncestorType=telerikRibbonView:RadRibbonWindow}, Path=IsTitleVisible}" Value="False" />
        <Setter Property="Foreground" Value="Black" />


    If the RibbonView control is not inside a RadRibbonWindow, running the application in debug mode generates a binding error in the output window.

    Worse, if the RadRibbonWindow is inside a window that inherits from RadRibbonWindow, it is also not found.

    Conclusion: you had better setting this trigger by code, traversings the UI tree to look for the right control...

  2. Milena
    Milena avatar
    193 posts

    Posted 26 Feb Link to this post

    Hello Patrick,

    Thank you for the feedback. I logged this issue in our FeedbackPortal where you can track its progress. I have also updated your Telerik points as a small appreciation for your cooperation. 

    Please excuse us for the inconvenience caused. 

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
Back to Top