Inheriting RadRibbonWindow error

2 posts, 0 answers
  1. Richard Harrigan
    Richard Harrigan avatar
    235 posts
    Member since:
    Nov 2009

    Posted 15 Mar 2013 Link to this post


    In my app the application header is a Windows header.  I would like to replace with RadRibbonWindow.  I tried changing

    public partial class MainWindow : Window

    public partial class MainWindow : RadRibbonWindow

    With that I get a compile error "Must not specify differrent base classes" 

    I am using the latest Telerik libraries and Visual Studio 2012 express with update 1.


  2. Kiril Vandov
    Kiril Vandov avatar
    324 posts

    Posted 20 Mar 2013 Link to this post


    This error is show when you inherit the RadRibbonWindow in your base class and in the XAML part is still used the default <Window ...> as root element. In order to compile the project you need to change root element to <telerik:RadRibbonWindow ... >. You could read more information about RadRibbonWindow in this article.

    I hope this information helps.

    Kind regards,
    Kiril Vandov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top