AmmyUI
AmmyUI copied to clipboard
Using MetroWindow from MahApps
Is it possible to use the MahApps MetroWindow instead of the regular window? It compiles but I'm getting some errors like "Partial declarations of 'MainWindow' must not specify different base classes" and another indicating different types in the XAML and code behind file.
using MahApps.Metro.Controls MetroWindow "MyProject.MainWindow" { ... }
and in code behind
public partial class MainWindow : MetroWindow { public MainWindow() { InitializeComponent(); } }
Also, great work with this just started to use it for a home project and I'm loving it so far!!
Hello @jregnier,
Sorry, I missed your issue at the time. Do you still have this problem?
MetroWindow should definitely work, it has been used with Ammy by a lot of people already.
I was able to figure it out, it didn't like the code behind having MetroWindow as a base class. all is well now thanks!