TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Giovanbattista Barra
NA
98
18.5k
WPF: RibbonWindow
Jun 2 2019 6:51 AM
Hallo dear Team,
I followed the same instructions of the link:
https://www.c-sharpcorner.com/UploadFile/0b73e1/ribbon-control-in-wpf-4-5/
as first: I change the tags in XAML from Window to RibbonWindow
<RibbonWindow x:Class="WPFTextverarbeitung.MainWindow" /RibbonWindow>
as second: obviously I change in MainWindow.cs as it follows:
using System.Windows.Controls.Ribbon;
namespace WPFTextverarbeitung
{
public partial class MainWindow : RibbonWindow
{
public MainWindow()
{
InitializeComponent();
}
}
}
the MainWindow will show an error "Partial Declaration of MainWindow must not specify different base classes"
It's very strange since I change the tags in XAML and I set the new assembly using as you see above.
How shall I proceed?
I've still deleted the project and made a new one to try and check if the error away is but at the end I always get the same error message.
Thank you in advance for your help.
Best regards
Giovanni
Reply
Answers (
0
)
I host my web api project into shared hosting environment.
generic list selection load grid