xaml ResourceDictionary inside User Control Library
问题 how is it possible to define a ResourceDictionary inside a User Control Library and access them via Xaml-Code. I've created something like this: <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro" xmlns:Dialog="clr-namespace:MahApps.Metro.Controls.Dialogs;assembly=MahApps.Metro" > <Style x:Key="NormalStyle" TargetType="{x:Type