MahApps / MahApps.Metro

A framework that allows developers to cobble together a better UI for their own WPF applications with minimal effort.
https://mahapps.com
MIT License
9.29k stars 2.45k forks source link

I can't host metro style WPF user control inside ElementHost #298

Closed mtektas closed 11 years ago

mtektas commented 11 years ago

Hi, I created a WPF usercontrol using MahApps.Metro.dll. But when I host it in Winform with ElementHost I got error like 'An error occured trying to create an object of type ...... '.

I can host any other WPF usercontrol in winforms without using MahApps.Metro.dll.

Any help plz?

ghost commented 11 years ago

This is not a supported scenario, nor is this a completed bug report (see the readme). You'll have to dig much much deeper to find an actual useful exception.