This is a migrated thread and some comments may be shown as answers.

Inheriting RadRibbonWindow error

1 Answer 25 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Richard Harrigan
Top achievements
Rank 1
Richard Harrigan asked on 16 Mar 2013, 02:24 AM
Hi

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

From:
public partial class MainWindow : Window

To:
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.

Thanks
Rich


1 Answer, 1 is accepted

Sort by
0
Kiril Vandov
Telerik team
answered on 20 Mar 2013, 09:44 AM
Hi,

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.

Tags
RibbonView and RibbonWindow
Asked by
Richard Harrigan
Top achievements
Rank 1
Answers by
Kiril Vandov
Telerik team
Share this question
or