This kind of issues are most commonly observed when the assemblies referenced in the project are of different types - ones are XAML-included
, others are noXAML
There are several ways to resolve this - either make sure all the assemblies are noXAML
and merge the resource dictionaries in App.xaml
(without merging the resources in App.xaml
you should not see the controls)
or use XAML-included
binaries (no need for a theme assembly in this case) and set StyleManager.ApplicationTheme = new MaterialTheme();
(without setting this you should see OfficeBlack
theme applied to the controls (similar to what you see applied to the button at the moment)).
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin
, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.